std::string_view has 3 modifiers: remove_prefix, remove_suffix, swap. When working with immutable strings, unless you need a modifier, use const string view. (Anecdotally, most string view uses do not involve modifiers.) en.cppreference.com/w/cpp/string/b… #cpp #cplusplus #programming
0
1
2
150
0