Monthly Archives: January 2018




code
Syntax [crayon-5dab1199f35e5457468115/] 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-5dab1199f35ef542126512/]   Suppose we have […]

Miscellaneous: Reference Qualifiers



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

STL Containers: Tuple