.TH "std::basic_string_view< _CharT, _Traits >" 3cxx "Sun Jan 8 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 "template _End> .br requires same_as, _CharT> && (!convertible_to<_End, size_type>)constexpr \fBbasic_string_view\fP (_It __first, _End __last) noexcept(noexcept(__last \- __first))" .br .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 bool \fBends_with\fP (_CharT __x) const noexcept" .br .ti -1c .RI "constexpr bool \fBends_with\fP (\fBbasic_string_view\fP __x) const noexcept" .br .ti -1c .RI "constexpr bool \fBends_with\fP (const _CharT *__x) 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 bool \fBstarts_with\fP (_CharT __x) const noexcept" .br .ti -1c .RI "constexpr bool \fBstarts_with\fP (\fBbasic_string_view\fP __x) const noexcept" .br .ti -1c .RI "constexpr bool \fBstarts_with\fP (const _CharT *__x) 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 \fB100\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 \fB115\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 \fB112\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 \fB114\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 \fB117\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::difference_type = ptrdiff_t" .PP Definition at line \fB120\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::iterator = const_iterator" .PP Definition at line \fB116\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::pointer = value_type*" .PP Definition at line \fB111\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::reference = value_type&" .PP Definition at line \fB113\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 \fB118\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::size_type = size_t" .PP Definition at line \fB119\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::traits_type = _Traits" .PP Definition at line \fB109\fP of file \fBstring_view\fP\&. .SS "template> using \fBstd::basic_string_view\fP< _CharT, _Traits >::value_type = _CharT" .PP Definition at line \fB110\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 \fB126\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 \fB133\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 \fB139\fP of file \fBstring_view\fP\&. .SS "template> template _End> .br requires same_as, _CharT> && (!convertible_to<_End, size_type>)constexpr \fBstd::basic_string_view\fP< _CharT, _Traits >::basic_string_view (_It __first, _End __last)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB148\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 \fB244\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 \fB261\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 \fB182\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 \fB190\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 \fB194\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 \fB317\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 \fB338\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 \fB327\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 \fB331\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 \fB342\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 \fB346\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 \fB297\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 \fB206\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 \fB210\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 \fB268\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 \fB231\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 \fB186\fP of file \fBstring_view\fP\&. .SS "template> constexpr bool \fBstd::basic_string_view\fP< _CharT, _Traits >::ends_with (_CharT __x) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB377\fP of file \fBstring_view\fP\&. .SS "template> constexpr bool \fBstd::basic_string_view\fP< _CharT, _Traits >::ends_with (\fBbasic_string_view\fP< _CharT, _Traits > __x) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB368\fP of file \fBstring_view\fP\&. .SS "template> constexpr bool \fBstd::basic_string_view\fP< _CharT, _Traits >::ends_with (const _CharT * __x) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB381\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 \fB403\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 \fB413\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 \fB464\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 \fB476\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 \fB435\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 \fB431\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 \fB443\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 \fB483\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 \fB495\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 \fB452\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 \fB447\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 \fB460\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 \fB254\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 \fB220\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 \fB224\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 \fB237\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 \fB198\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 \fB274\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 \fB282\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 \fB202\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 \fB417\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 \fB427\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 \fB216\fP of file \fBstring_view\fP\&. .SS "template> constexpr bool \fBstd::basic_string_view\fP< _CharT, _Traits >::starts_with (_CharT __x) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB360\fP of file \fBstring_view\fP\&. .SS "template> constexpr bool \fBstd::basic_string_view\fP< _CharT, _Traits >::starts_with (\fBbasic_string_view\fP< _CharT, _Traits > __x) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB356\fP of file \fBstring_view\fP\&. .SS "template> constexpr bool \fBstd::basic_string_view\fP< _CharT, _Traits >::starts_with (const _CharT * __x) const\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB364\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 \fB309\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 \fB286\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 \fB121\fP of file \fBstring_view\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.