M
mathieu
Hi there,
I am reading the following post:
http://groups.google.com/group/comp.lang.c++/browse_thread/thread/2805ab0a765aa0ad
And I do not understand the following:
....
- static polymorphism which allows the inheritance or cooperation of
traits and useful specialization under metaprogramming (factorizing
operations by example).
....
So as in the original post, I do not understand what is the added
value of CRTP. Could someone please provide an example where
inheritance of traits clearly requires CRTP, thanks !
-Mathieu
I am reading the following post:
http://groups.google.com/group/comp.lang.c++/browse_thread/thread/2805ab0a765aa0ad
And I do not understand the following:
....
- static polymorphism which allows the inheritance or cooperation of
traits and useful specialization under metaprogramming (factorizing
operations by example).
....
So as in the original post, I do not understand what is the added
value of CRTP. Could someone please provide an example where
inheritance of traits clearly requires CRTP, thanks !
-Mathieu