Helpful tutorials and unanswered question investigations.
Motivation
My motivation to start this blog mainly was to have a memory hook for myself. I'm experiencing to investigate repeatedly on the same problems multiple times in slightly different contexts, when these appear in e.g. new project setup cycles. May be my markers might also be helpful for other software developers ...
I have done a simple sample how to use a C++11 lambda expression as predicate for a particular algorithm.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
One of the very basic techniques of C++ meta-programming is to provide simple selector classes that provide to refer to a type from a (public) typedef member.
The basic pattern for type selections based on a condition applied to the template parameters passed, or even independently looks like the following code demonstrates:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters