Skip to primary content
Skip to secondary content

Advanced C++

C++ Tutorials on Libraries, Tools, and Techniques

Advanced C++

Main menu

  • Libraries
    • Standard Template Library
    • Boost Library
  • Tools
    • Visual Studio
  • Techniques
  • Design
    • Theory

Tag Archives: template function

Introduction to C++ Template Functions

Posted on December 10, 2014 by Jeff Benshetler
Reply

Overview C++ provides two major mechanisms for code reuse: inheritance and templates. Templates can become complex so we are going to use function templates as a gentle introduction. Generally speaking, a function template applies the same algorithm to different data … Continue reading →

Posted in C++03, Language Features | Tagged c++, specialization, template, template function | Leave a reply

Recent Posts

  • Introduction to C++ Template Functions
  • C++ Threads Using Boost in 5 Minutes
  • Oh No! Big-O
  • Lazy Evaluation Makes for Smart map<>
  • Function Pointers and Member Function Pointers

Tag cloud

inheritance problem mt.exe boost::thread_group algorithm virtual destructor composition 5min crtp theory lazy evaluation member function pointer map windows function pointer visual studio template database visual studio 11 shared_ptr nasty surprises client property pages time_period date_time liskov substitution principle pointer boost::bind boost::thread fix ptime time_duration pcm lsp boost date example case big-o performance example sdk polymorphism implementation exception safety c++

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress