Monthly Archives: January 2018




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

Miscellaneous: Reference Qualifiers



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

STL Containers: Tuple