[string.view.general]

# 27 Strings library [[strings]](./#strings)

## 27.3 String view classes [[string.view]](string.view#general)

### 27.3.1 General [string.view.general]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/strings.tex#L521)

The class template basic_string_view describes an object that can refer to a constant contiguous sequence of char-like ([[strings.general]](strings.general "27.1 General")) objects with the first element of the sequence at position zero[.](#1.sentence-1)

In the rest of [[string.view]](string.view "27.3 String view classes"), the type of the char-like objects held in a basic_string_view object is designated by charT[.](#1.sentence-2)

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/strings.tex#L525)

[*Note [1](#note-1)*:

The library provides implicit conversions from const charT* and std​::​basic_string<charT, ...> to std​::​basic_string_view<charT, ...> so that user code can accept just std​::​basic_string_view<charT> as a non-templated parameter wherever a sequence of characters is expected[.](#2.sentence-1)

User-defined types can define their own implicit conversions to std​::​basic_string_view<charT> in order to interoperate with these functions[.](#2.sentence-2)

â *end note*]
