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

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

Meta

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