Let’s continue our exploration of C++26 improvements. Today we focus on string_view. Some types got new constructors accepting string_views, and concatenation of strings and string_views just got easier. But let’s start with a brief reminder of what a string_view is. Reminder: the role of string_view std::string_view was introduced in C++17 and its purpose is to provide read-only access to...
No comments yet. Log in to reply on the Fediverse. Comments will appear here.