Monatsarchiv: Oktober 2019

String View in C++17 (std::string_view)

The C++ string (std::string) is like a thin wrapper which stores its data on the heap. When you deal with strings it happens very often that a string copy must be created and therefore a memory allocation is done. But … Weiterlesen

Veröffentlicht unter C++ | Kommentar hinterlassen