Monthly Archives: January 2018




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

Miscellaneous: Reference Qualifiers



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

STL Containers: Tuple