Miscellaneous C++ Older C++ topics How NOT to preallocate space for std::vector Careful with initial values passed to STL functions Careful with initial values passed to STL functions Practical examples of structured bindings (C++17) Accessor and mutator methods Pointer vs reference: The perils of reassignment Step-by-step introduction to operator overloading Overloading the stream insertion operator How to implement a map with case-insensitive keys in C++98 and C++11 Using a map with a user-defined class as key in C++98 and C++11 Sort a vector of custom objects with < operator (C++98) Sort a vector of objects with a lambda expression (C++11) How to parse a simple config file in C++