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: polymorphism

Overloading Using Non-type Template Parameters

Posted on May 9, 2012 by Jeff Benshetler
Reply

Consider the following situation: you have data to process that naturally uses the same container for storage yet needs to be processed differently based on the data "type". For example, say you are processing digital audio data and that data … Continue reading →

Posted in Techniques | Tagged c++, crtp, inheritance, pcm, polymorphism, template | 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

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

Meta

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