Monthly Archives: January 2018




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

Miscellaneous: Reference Qualifiers



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

STL Containers: Tuple