Definition of type trait

A type trait is a way for you to get information about the types passed in as template argument plain and simple :-) source…

Returning a Boost.Range from a function

Boost.Range provides some little gems like boost::adaptors::filtered and boost::adaptors::transformed, which can be used to write sophisticated range-based for loops. However, in same cases we would like to factor the code that creates that range out of the function in which the iteration takes place; something…

Conversions in C++

In C++ results of conversions are always rvalues (unless you convert to reference type). [via @AndreyT]…