In my previous post "More about Dynamic and Static Polymorphism", I used the Curiously Recurring Template Pattern (CRTP) to implement static polymorphism. Another typical use case for CRTP are mixins.
In my previous post Recursion, List Manipulation, and Lazy Evaluation, I wrote about the characteristics of functional programming: The story about lazy evaluation in C++ is short. Sorry to say, but I have forgotten templates. The two advanced techniques CRTP and expression templates, are based on lazy evaluation.
Hunting
Today 4036
Yesterday 7411
Week 27264
Month 171435
All 11652589
Currently are 202 guests and no members online
Kubik-Rubik Joomla! Extensions
Read more...
Read more...