Monthly Archives: January 2018




code
Syntax [crayon-5d5e8cb25204e470090320/] Usage / Usability Member function reference qualifiers make it possible to treat lvalue and rvalue objects (*this) differently. Member functions must not be virtual to use them Member function reference qualifiers make it possible to treat lvalue and rvalue objects (*this) differently.   [crayon-5d5e8cb25205d111343716/]   Suppose we have […]

Miscellaneous: Reference Qualifiers



code
Syntax Before C++11 we had only pair as a structure, which contains two types. [crayon-5d5e8cb2525cb705961696/] C++11 added tuple, which is an extended pair. [crayon-5d5e8cb2525d4293132331/] Accessing data from a tuple [crayon-5d5e8cb2525d8456333103/] Unpacking from a tuple [crayon-5d5e8cb2525dc888080078/] std::ignore Can be used to ignore one or multiple unpacking parameters [crayon-5d5e8cb2525df539603318/]  

STL Containers: Tuple