Curiously recurring template pattern: Difference between revisions

Content deleted Content added
Audrius u (talk | contribs)
m Fixed variable types in 'Object counter' code sample
Line 16:
</source>
 
Some use cases for this pattern are <code>static polymorphism</code> (see [[Template_metaprogrammingTemplate metaprogramming]]) and other metaprogramming techniques as those described by Alexandrescu{{ref|Alexandrescu}} in [[Modern C++ Design]].
 
== Static polymorphism ==