Daily Archives: January 17, 2018


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

Miscellaneous: Reference Qualifiers


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

STL Containers: Tuple