Guidelines Support Library Review: string_span--Marius Bancila
What is a string_span?
Guidelines Support Library Review: string_span<T>
by Marius Bancila
From the article:
In a previous post I have introduced the
span<T>type from the Guidelines Support Library. This is a non-owning range of contiguous memory recommended to be used instead of pointers (and size counter) or standard containers (such asvectororarray).span<T>can be used withstrings, but the Guidelines Support Library provides a different span implementation for various types of strings. These string span types are available in thestring_span.hheader.


