Daily Archives: January 17, 2018


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

Miscellaneous: Reference Qualifiers


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

STL Containers: Tuple