cpp/string/basic string view

The class template describes an object that can refer to a constant contiguous sequence of  with the first element of the sequence at position zero.

A typical implementation holds only two members: a pointer to constant and a size.

Several typedefs for common character types are provided:

Member types
Note: and  are the same type because string views are views into constant character sequences.

All requirements on the iterator types of a applies to the  and  types of  as well.

Helper templates
This specialization of makes  satisfy.

This specialization of ranges makes satisfy.