.TH "std::basic_string_view< _CharT, _Traits >" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::basic_string_view< _CharT, _Traits > \- A non-owning reference to a string\&. .SH SYNOPSIS .br .PP .PP \fC#include <>>\fP .SS "Public Types" .in +1c .ti -1c .RI "using \fBconst_iterator\fP = const value_type *" .br .ti -1c .RI "using \fBconst_pointer\fP = const value_type *" .br .ti -1c .RI "using \fBconst_reference\fP = const value_type &" .br .ti -1c .RI "using \fBconst_reverse_iterator\fP = \fBstd::reverse_iterator\fP< const_iterator >" .br .ti -1c .RI "using \fBdifference_type\fP = ptrdiff_t" .br .ti -1c .RI "using \fBiterator\fP = const_iterator" .br .ti -1c .RI "using \fBpointer\fP = value_type *" .br .ti -1c .RI "using \fBreference\fP = value_type &" .br .ti -1c .RI "using \fBreverse_iterator\fP = \fBconst_reverse_iterator\fP" .br .ti -1c .RI "using \fBsize_type\fP = size_t" .br .ti -1c .RI "using \fBtraits_type\fP = _Traits" .br .ti -1c .RI "using \fBvalue_type\fP = _CharT" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "constexpr \fBbasic_string_view\fP (const _CharT *__str) noexcept" .br .ti -1c .RI "constexpr \fBbasic_string_view\fP (const _CharT *__str, size_type __len) noexcept" .br .ti -1c .RI "constexpr \fBbasic_string_view\fP (const \fBbasic_string_view\fP &) noexcept=default" .br .ti -1c .RI "constexpr const_reference \fBat\fP (size_type __pos) const" .br .ti -1c .RI "constexpr const_reference \fBback\fP () const noexcept" .br .ti -1c .RI "constexpr const_iterator \fBbegin\fP () const noexcept" .br .ti -1c .RI "constexpr const_iterator \fBcbegin\fP () const noexcept" .br .ti -1c .RI "constexpr const_iterator \fBcend\fP () const noexcept" .br .ti -1c .RI "constexpr int \fBcompare\fP (\fBbasic_string_view\fP __str) const noexcept" .br .ti -1c .RI "constexpr int \fBcompare\fP (const _CharT *__str) const noexcept" .br .ti -1c .RI "constexpr int \fBcompare\fP (size_type __pos1, size_type __n1, \fBbasic_string_view\fP __str) const" .br .ti -1c .RI "constexpr int \fBcompare\fP (size_type __pos1, size_type __n1, \fBbasic_string_view\fP __str, size_type __pos2, size_type __n2) const" .br .ti -1c .RI "constexpr int \fBcompare\fP (size_type __pos1, size_type __n1, const _CharT *__str) const" .br .ti -1c .RI "constexpr int \fBcompare\fP (size_type __pos1, size_type __n1, const _CharT *__str, size_type __n2) const noexcept(false)" .br .ti -1c .RI "constexpr size_type \fBcopy\fP (_CharT *__str, size_type __n, size_type __pos=0) const" .br .ti -1c .RI "constexpr \fBconst_reverse_iterator\fP \fBcrbegin\fP () const noexcept" .br .ti -1c .RI "constexpr \fBconst_reverse_iterator\fP \fBcrend\fP () const noexcept" .br .ti -1c .RI "constexpr const_pointer \fBdata\fP () const noexcept" .br .ti -1c .RI "constexpr bool \fBempty\fP () const noexcept" .br .ti -1c .RI "constexpr const_iterator \fBend\fP () const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind\fP (_CharT __c, size_type __pos=0) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind\fP (\fBbasic_string_view\fP __str, size_type __pos=0) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind\fP (const _CharT *__str, size_type __pos, size_type __n) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind\fP (const _CharT *__str, size_type __pos=0) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_first_not_of\fP (_CharT __c, size_type __pos=0) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_first_not_of\fP (\fBbasic_string_view\fP __str, size_type __pos=0) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_first_not_of\fP (const _CharT *__str, size_type __pos, size_type __n) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_first_not_of\fP (const _CharT *__str, size_type __pos=0) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_first_of\fP (_CharT __c, size_type __pos=0) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_first_of\fP (\fBbasic_string_view\fP __str, size_type __pos=0) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_first_of\fP (const _CharT *__str, size_type __pos, size_type __n) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_first_of\fP (const _CharT *__str, size_type __pos=0) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_last_not_of\fP (_CharT __c, size_type __pos=npos) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_last_not_of\fP (\fBbasic_string_view\fP __str, size_type __pos=npos) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_last_not_of\fP (const _CharT *__str, size_type __pos, size_type __n) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_last_not_of\fP (const _CharT *__str, size_type __pos=npos) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_last_of\fP (_CharT __c, size_type __pos=npos) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_last_of\fP (\fBbasic_string_view\fP __str, size_type __pos=npos) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_last_of\fP (const _CharT *__str, size_type __pos, size_type __n) const noexcept" .br .ti -1c .RI "constexpr size_type \fBfind_last_of\fP (const _CharT *__str, size_type __pos=npos) const noexcept" .br .ti -1c .RI "constexpr const_reference \fBfront\fP () const noexcept" .br .ti -1c .RI "constexpr size_type \fBlength\fP () const noexcept" .br .ti -1c .RI "constexpr size_type \fBmax_size\fP () const noexcept" .br .ti -1c .RI "constexpr \fBbasic_string_view\fP & \fBoperator=\fP (const \fBbasic_string_view\fP &) noexcept=default" .br .ti -1c .RI "constexpr const_reference \fBoperator[]\fP (size_type __pos) const noexcept" .br .ti -1c .RI "constexpr \fBconst_reverse_iterator\fP \fBrbegin\fP () const noexcept" .br .ti -1c .RI "constexpr void \fBremove_prefix\fP (size_type __n) noexcept" .br .ti -1c .RI "constexpr void \fBremove_suffix\fP (size_type __n) noexcept" .br .ti -1c .RI "constexpr \fBconst_reverse_iterator\fP \fBrend\fP () const noexcept" .br .ti -1c .RI "constexpr size_type \fBrfind\fP (_CharT __c, size_type __pos=npos) const noexcept" .br .ti -1c .RI "constexpr size_type \fBrfind\fP (\fBbasic_string_view\fP __str, size_type __pos=npos) const noexcept" .br .ti -1c .RI "constexpr size_type \fBrfind\fP (const _CharT *__str, size_type __pos, size_type __n) const noexcept" .br .ti -1c .RI "constexpr size_type \fBrfind\fP (const _CharT *__str, size_type __pos=npos) const noexcept" .br .ti -1c .RI "constexpr size_type \fBsize\fP () const noexcept" .br .ti -1c .RI "constexpr \fBbasic_string_view\fP \fBsubstr\fP (size_type __pos=0, size_type __n=npos) const noexcept(false)" .br .ti -1c .RI "constexpr void \fBswap\fP (\fBbasic_string_view\fP &__sv) noexcept" .br .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "static constexpr size_type \fBnpos\fP" .br .in -1c .SH "Detailed Description" .PP .SS "template> .br class std::basic_string_view< _CharT, _Traits >"A non-owning reference to a string\&. .PP \fBTemplate Parameters\fP .RS 4 \fI_CharT\fP Type of character .br \fI_Traits\fP Traits for character type, defaults to char_traits<_CharT>\&. .RE .PP A basic_string_view looks like this: .PP .PP .nf _CharT* _M_str size_t _M_len .fi .PP .PP Definition at line \fB98\fP of file \fBstring_view\fP\&. .SH "Member Typedef Documentation" .PP .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::const_iterator = const value_type*" .PP Definition at line \fB113\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::const_pointer = const value_type*" .PP Definition at line \fB110\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::const_reference = const value_type&" .PP Definition at line \fB112\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::const_reverse_iterator = \fBstd::reverse_iterator\fP" .PP Definition at line \fB115\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::difference_type = ptrdiff_t" .PP Definition at line \fB118\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::iterator = const_iterator" .PP Definition at line \fB114\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::pointer = value_type*" .PP Definition at line \fB109\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::reference = value_type&" .PP Definition at line \fB111\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::reverse_iterator = \fBconst_reverse_iterator\fP" .PP Definition at line \fB116\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::size_type = size_t" .PP Definition at line \fB117\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::traits_type = _Traits" .PP Definition at line \fB107\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::value_type = _CharT" .PP Definition at line \fB108\fP of file \fBstring_view\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template> constexpr \fBstd::basic_string_view\fP< _CharT, _Traits >::basic_string_view ()\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB124\fP of file \fBstring_view\fP\&. .SS "template> constexpr \fBstd::basic_string_view\fP< _CharT, _Traits >::basic_string_view (const _CharT * __str)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB131\fP of file \fBstring_view\fP\&. .SS "template> constexpr \fBstd::basic_string_view\fP< _CharT, _Traits >::basic_string_view (const _CharT * __str, size_type __len)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB137\fP of file \fBstring_view\fP\&. .SH "Member Function Documentation" .PP .SS "template> constexpr const_reference \fBstd::basic_string_view\fP< _CharT, _Traits >::at (size_type __pos) const\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB239\fP of file \fBstring_view\fP\&. .SS "template> constexpr const_reference \fBstd::basic_string_view\fP< _CharT, _Traits >::back () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB256\fP of file \fBstring_view\fP\&. .SS "template> constexpr const_iterator \fBstd::basic_string_view\fP< _CharT, _Traits >::begin () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB177\fP of file \fBstring_view\fP\&. .SS "template> constexpr const_iterator \fBstd::basic_string_view\fP< _CharT, _Traits >::cbegin () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB185\fP of file \fBstring_view\fP\&. .SS "template> constexpr const_iterator \fBstd::basic_string_view\fP< _CharT, _Traits >::cend () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB189\fP of file \fBstring_view\fP\&. .SS "template> constexpr int \fBstd::basic_string_view\fP< _CharT, _Traits >::compare (\fBbasic_string_view\fP< _CharT, _Traits > __str) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB312\fP of file \fBstring_view\fP\&. .SS "template> constexpr int \fBstd::basic_string_view\fP< _CharT, _Traits >::compare (const _CharT * __str) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB333\fP of file \fBstring_view\fP\&. .SS "template> constexpr int \fBstd::basic_string_view\fP< _CharT, _Traits >::compare (size_type __pos1, size_type __n1, \fBbasic_string_view\fP< _CharT, _Traits > __str) const\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB322\fP of file \fBstring_view\fP\&. .SS "template> constexpr int \fBstd::basic_string_view\fP< _CharT, _Traits >::compare (size_type __pos1, size_type __n1, \fBbasic_string_view\fP< _CharT, _Traits > __str, size_type __pos2, size_type __n2) const\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB326\fP of file \fBstring_view\fP\&. .SS "template> constexpr int \fBstd::basic_string_view\fP< _CharT, _Traits >::compare (size_type __pos1, size_type __n1, const _CharT * __str) const\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB337\fP of file \fBstring_view\fP\&. .SS "template> constexpr int \fBstd::basic_string_view\fP< _CharT, _Traits >::compare (size_type __pos1, size_type __n1, const _CharT * __str, size_type __n2) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB341\fP of file \fBstring_view\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::copy (_CharT * __str, size_type __n, size_type __pos = \fC0\fP) const\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB292\fP of file \fBstring_view\fP\&. .SS "template> constexpr \fBconst_reverse_iterator\fP \fBstd::basic_string_view\fP< _CharT, _Traits >::crbegin () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB201\fP of file \fBstring_view\fP\&. .SS "template> constexpr \fBconst_reverse_iterator\fP \fBstd::basic_string_view\fP< _CharT, _Traits >::crend () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB205\fP of file \fBstring_view\fP\&. .SS "template> constexpr const_pointer \fBstd::basic_string_view\fP< _CharT, _Traits >::data () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB263\fP of file \fBstring_view\fP\&. .SS "template> constexpr bool \fBstd::basic_string_view\fP< _CharT, _Traits >::empty () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB226\fP of file \fBstring_view\fP\&. .SS "template> constexpr const_iterator \fBstd::basic_string_view\fP< _CharT, _Traits >::end () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB181\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find (_CharT __c, size_type __pos = \fC0\fP) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB80\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find (\fBbasic_string_view\fP< _CharT, _Traits > __str, size_type __pos = \fC0\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB398\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find (const _CharT * __str, size_type __pos, size_type __n) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB47\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find (const _CharT * __str, size_type __pos = \fC0\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB408\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_first_not_of (_CharT __c, size_type __pos = \fC0\fP) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB185\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_first_not_of (\fBbasic_string_view\fP< _CharT, _Traits > __str, size_type __pos = \fC0\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB459\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_first_not_of (const _CharT * __str, size_type __pos, size_type __n) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB172\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_first_not_of (const _CharT * __str, size_type __pos = \fC0\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB471\fP of file \fBstring_view\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_first_of (_CharT __c, size_type __pos = \fC0\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB430\fP of file \fBstring_view\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_first_of (\fBbasic_string_view\fP< _CharT, _Traits > __str, size_type __pos = \fC0\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB426\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_first_of (const _CharT * __str, size_type __pos, size_type __n) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB133\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_first_of (const _CharT * __str, size_type __pos = \fC0\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB438\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_last_not_of (_CharT __c, size_type __pos = \fCnpos\fP) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB218\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_last_not_of (\fBbasic_string_view\fP< _CharT, _Traits > __str, size_type __pos = \fCnpos\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB478\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_last_not_of (const _CharT * __str, size_type __pos, size_type __n) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB196\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_last_not_of (const _CharT * __str, size_type __pos = \fCnpos\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB490\fP of file \fBstring_view\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_last_of (_CharT __c, size_type __pos = \fCnpos\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB447\fP of file \fBstring_view\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_last_of (\fBbasic_string_view\fP< _CharT, _Traits > __str, size_type __pos = \fCnpos\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB442\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_last_of (const _CharT * __str, size_type __pos, size_type __n) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB150\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::find_last_of (const _CharT * __str, size_type __pos = \fCnpos\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB455\fP of file \fBstring_view\fP\&. .SS "template> constexpr const_reference \fBstd::basic_string_view\fP< _CharT, _Traits >::front () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB249\fP of file \fBstring_view\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::length () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB215\fP of file \fBstring_view\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::max_size () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB219\fP of file \fBstring_view\fP\&. .SS "template> constexpr const_reference \fBstd::basic_string_view\fP< _CharT, _Traits >::operator[] (size_type __pos) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB232\fP of file \fBstring_view\fP\&. .SS "template> constexpr \fBconst_reverse_iterator\fP \fBstd::basic_string_view\fP< _CharT, _Traits >::rbegin () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB193\fP of file \fBstring_view\fP\&. .SS "template> constexpr void \fBstd::basic_string_view\fP< _CharT, _Traits >::remove_prefix (size_type __n)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB269\fP of file \fBstring_view\fP\&. .SS "template> constexpr void \fBstd::basic_string_view\fP< _CharT, _Traits >::remove_suffix (size_type __n)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB277\fP of file \fBstring_view\fP\&. .SS "template> constexpr \fBconst_reverse_iterator\fP \fBstd::basic_string_view\fP< _CharT, _Traits >::rend () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB197\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::rfind (_CharT __c, size_type __pos = \fCnpos\fP) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB116\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::rfind (\fBbasic_string_view\fP< _CharT, _Traits > __str, size_type __pos = \fCnpos\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB412\fP of file \fBstring_view\fP\&. .SS "template constexpr \fBbasic_string_view\fP< _CharT, _Traits >::size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::rfind (const _CharT * __str, size_type __pos, size_type __n) const\fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB96\fP of file \fBbits/string_view\&.tcc\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::rfind (const _CharT * __str, size_type __pos = \fCnpos\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB422\fP of file \fBstring_view\fP\&. .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::size () const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB211\fP of file \fBstring_view\fP\&. .SS "template> constexpr \fBbasic_string_view\fP \fBstd::basic_string_view\fP< _CharT, _Traits >::substr (size_type __pos = \fC0\fP, size_type __n = \fCnpos\fP) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB304\fP of file \fBstring_view\fP\&. .SS "template> constexpr void \fBstd::basic_string_view\fP< _CharT, _Traits >::swap (\fBbasic_string_view\fP< _CharT, _Traits > & __sv)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB281\fP of file \fBstring_view\fP\&. .SH "Member Data Documentation" .PP .SS "template> constexpr size_type \fBstd::basic_string_view\fP< _CharT, _Traits >::npos\fC [static]\fP, \fC [constexpr]\fP" .PP Definition at line \fB119\fP of file \fBstring_view\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.