Logo ROOT  
Reference Guide
basic_string_view< _CharT, _Traits > Class Template Reference

template<class _CharT, class _Traits = _VSTD::char_traits<_CharT>>
class basic_string_view< _CharT, _Traits >

Definition at line 200 of file libcpp_string_view.h.

Public Types

typedef const_pointer const_iterator
 
typedef const _CharT * const_pointer
 
typedef const _CharT & const_reference
 
typedef _VSTD::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef ptrdiff_t difference_type
 
typedef const_iterator iterator
 
typedef const _CharT * pointer
 
typedef const _CharT & reference
 
typedef const_reverse_iterator reverse_iterator
 
typedef size_t size_type
 
typedef _Traits traits_type
 
typedef _CharT value_type
 

Public Member Functions

_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY basic_string_view () _NOEXCEPT
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY basic_string_view (const _CharT *__s)
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY basic_string_view (const _CharT *__s, size_type __len)
 
template<class _Allocator >
_LIBCPP_INLINE_VISIBILITY basic_string_view (const basic_string< _CharT, _Traits, _Allocator > &__str) _NOEXCEPT
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY basic_string_view (const basic_string_view &) _NOEXCEPT=default
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_reference at (size_type __pos) const
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_reference back () const
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_iterator begin () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_iterator cbegin () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_iterator cend () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY void clear () _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 int compare (basic_string_view __sv) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int compare (const _CharT *__s) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int compare (size_type __pos1, size_type __n1, basic_string_view __sv) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int compare (size_type __pos1, size_type __n1, basic_string_view _sv, size_type __pos2, size_type __n2) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int compare (size_type __pos1, size_type __n1, const _CharT *__s) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int compare (size_type __pos1, size_type __n1, const _CharT *__s, size_type __n2) const
 
size_type copy (_CharT *__s, size_type __n, size_type __pos=0) const
 
_LIBCPP_INLINE_VISIBILITY const_reverse_iterator crbegin () const _NOEXCEPT
 
_LIBCPP_INLINE_VISIBILITY const_reverse_iterator crend () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_pointer data () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR bool _LIBCPP_INLINE_VISIBILITY empty () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_iterator end () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find (_CharT __c, size_type __pos=0) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find (basic_string_view __s, size_type __pos=0) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find (const _CharT *__s, size_type __pos, size_type __n) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find (const _CharT *__s, size_type __pos=0) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_first_not_of (_CharT __c, size_type __pos=0) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_first_not_of (basic_string_view __s, size_type __pos=0) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_first_not_of (const _CharT *__s, size_type __pos, size_type __n) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_first_not_of (const _CharT *__s, size_type __pos=0) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_first_of (_CharT __c, size_type __pos=0) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_first_of (basic_string_view __s, size_type __pos=0) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_first_of (const _CharT *__s, size_type __pos, size_type __n) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_first_of (const _CharT *__s, size_type __pos=0) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_last_not_of (_CharT __c, size_type __pos=npos) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_last_not_of (basic_string_view __s, size_type __pos=npos) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_last_not_of (const _CharT *__s, size_type __pos, size_type __n) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_last_not_of (const _CharT *__s, size_type __pos=npos) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_last_of (_CharT __c, size_type __pos=npos) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_last_of (basic_string_view __s, size_type __pos=npos) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_last_of (const _CharT *__s, size_type __pos, size_type __n) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type find_last_of (const _CharT *__s, size_type __pos=npos) const
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_reference front () const
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY size_type length () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY size_type max_size () const _NOEXCEPT
 
template<class _Allocator >
_LIBCPP_INLINE_VISIBILITY _LIBCPP_EXPLICIT operator basic_string< _CharT, _Traits, _Allocator > () const
 
_LIBCPP_INLINE_VISIBILITY basic_string_viewoperator= (const basic_string_view &) _NOEXCEPT=default
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_reference operator[] (size_type __pos) const
 
_LIBCPP_INLINE_VISIBILITY const_reverse_iterator rbegin () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY void remove_prefix (size_type __n) _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY void remove_suffix (size_type __n) _NOEXCEPT
 
_LIBCPP_INLINE_VISIBILITY const_reverse_iterator rend () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type rfind (_CharT __c, size_type __pos=npos) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type rfind (basic_string_view __s, size_type __pos=npos) const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type rfind (const _CharT *__s, size_type __pos, size_type __n) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type rfind (const _CharT *__s, size_type __pos=npos) const
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY size_type size () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR basic_string_view substr (size_type __pos=0, size_type __n=npos) const
 
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY void swap (basic_string_view &__other) _NOEXCEPT
 

Static Public Attributes

static _LIBCPP_CONSTEXPR const size_type npos = -1
 

Private Attributes

const value_type__data
 
size_type __size
 

#include <ROOT/libcpp_string_view.h>

Member Typedef Documentation

◆ const_iterator

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef const_pointer basic_string_view< _CharT, _Traits >::const_iterator

Definition at line 209 of file libcpp_string_view.h.

◆ const_pointer

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef const _CharT* basic_string_view< _CharT, _Traits >::const_pointer

Definition at line 206 of file libcpp_string_view.h.

◆ const_reference

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef const _CharT& basic_string_view< _CharT, _Traits >::const_reference

Definition at line 208 of file libcpp_string_view.h.

◆ const_reverse_iterator

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef _VSTD::reverse_iterator<const_iterator> basic_string_view< _CharT, _Traits >::const_reverse_iterator

Definition at line 211 of file libcpp_string_view.h.

◆ difference_type

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef ptrdiff_t basic_string_view< _CharT, _Traits >::difference_type

Definition at line 214 of file libcpp_string_view.h.

◆ iterator

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef const_iterator basic_string_view< _CharT, _Traits >::iterator

Definition at line 210 of file libcpp_string_view.h.

◆ pointer

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef const _CharT* basic_string_view< _CharT, _Traits >::pointer

Definition at line 205 of file libcpp_string_view.h.

◆ reference

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef const _CharT& basic_string_view< _CharT, _Traits >::reference

Definition at line 207 of file libcpp_string_view.h.

◆ reverse_iterator

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef const_reverse_iterator basic_string_view< _CharT, _Traits >::reverse_iterator

Definition at line 212 of file libcpp_string_view.h.

◆ size_type

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef size_t basic_string_view< _CharT, _Traits >::size_type

Definition at line 213 of file libcpp_string_view.h.

◆ traits_type

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef _Traits basic_string_view< _CharT, _Traits >::traits_type

Definition at line 203 of file libcpp_string_view.h.

◆ value_type

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
typedef _CharT basic_string_view< _CharT, _Traits >::value_type

Definition at line 204 of file libcpp_string_view.h.

Constructor & Destructor Documentation

◆ basic_string_view() [1/5]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY basic_string_view< _CharT, _Traits >::basic_string_view ( )
inline

Definition at line 219 of file libcpp_string_view.h.

◆ basic_string_view() [2/5]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY basic_string_view< _CharT, _Traits >::basic_string_view ( const basic_string_view< _CharT, _Traits > &  )
default

◆ basic_string_view() [3/5]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
template<class _Allocator >
_LIBCPP_INLINE_VISIBILITY basic_string_view< _CharT, _Traits >::basic_string_view ( const basic_string< _CharT, _Traits, _Allocator > &  __str)
inline

Definition at line 229 of file libcpp_string_view.h.

◆ basic_string_view() [4/5]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY basic_string_view< _CharT, _Traits >::basic_string_view ( const _CharT *  __s,
size_type  __len 
)
inline

Definition at line 233 of file libcpp_string_view.h.

◆ basic_string_view() [5/5]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY basic_string_view< _CharT, _Traits >::basic_string_view ( const _CharT *  __s)
inline

Definition at line 240 of file libcpp_string_view.h.

Member Function Documentation

◆ at()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_reference basic_string_view< _CharT, _Traits >::at ( size_type  __pos) const
inline

Definition at line 286 of file libcpp_string_view.h.

◆ back()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_reference basic_string_view< _CharT, _Traits >::back ( ) const
inline

Definition at line 300 of file libcpp_string_view.h.

◆ begin()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_iterator basic_string_view< _CharT, _Traits >::begin ( ) const
inline

Definition at line 245 of file libcpp_string_view.h.

◆ cbegin()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_iterator basic_string_view< _CharT, _Traits >::cbegin ( ) const
inline

Definition at line 251 of file libcpp_string_view.h.

◆ cend()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_iterator basic_string_view< _CharT, _Traits >::cend ( ) const
inline

Definition at line 254 of file libcpp_string_view.h.

◆ clear()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY void basic_string_view< _CharT, _Traits >::clear ( )
inline

Definition at line 310 of file libcpp_string_view.h.

◆ compare() [1/6]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 int basic_string_view< _CharT, _Traits >::compare ( basic_string_view< _CharT, _Traits >  __sv) const
inline

Definition at line 372 of file libcpp_string_view.h.

◆ compare() [2/6]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int basic_string_view< _CharT, _Traits >::compare ( const _CharT *  __s) const
inline

Definition at line 395 of file libcpp_string_view.h.

◆ compare() [3/6]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int basic_string_view< _CharT, _Traits >::compare ( size_type  __pos1,
size_type  __n1,
basic_string_view< _CharT, _Traits >  __sv 
) const
inline

Definition at line 382 of file libcpp_string_view.h.

◆ compare() [4/6]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int basic_string_view< _CharT, _Traits >::compare ( size_type  __pos1,
size_type  __n1,
basic_string_view< _CharT, _Traits >  _sv,
size_type  __pos2,
size_type  __n2 
) const
inline

Definition at line 388 of file libcpp_string_view.h.

◆ compare() [5/6]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int basic_string_view< _CharT, _Traits >::compare ( size_type  __pos1,
size_type  __n1,
const _CharT *  __s 
) const
inline

Definition at line 401 of file libcpp_string_view.h.

◆ compare() [6/6]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY int basic_string_view< _CharT, _Traits >::compare ( size_type  __pos1,
size_type  __n1,
const _CharT *  __s,
size_type  __n2 
) const
inline

Definition at line 407 of file libcpp_string_view.h.

◆ copy()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
size_type basic_string_view< _CharT, _Traits >::copy ( _CharT *  __s,
size_type  __n,
size_type  __pos = 0 
) const
inline

Definition at line 351 of file libcpp_string_view.h.

◆ crbegin()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_INLINE_VISIBILITY const_reverse_iterator basic_string_view< _CharT, _Traits >::crbegin ( ) const
inline

Definition at line 263 of file libcpp_string_view.h.

◆ crend()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_INLINE_VISIBILITY const_reverse_iterator basic_string_view< _CharT, _Traits >::crend ( ) const
inline

Definition at line 266 of file libcpp_string_view.h.

◆ data()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_pointer basic_string_view< _CharT, _Traits >::data ( ) const
inline

Definition at line 306 of file libcpp_string_view.h.

◆ empty()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR bool _LIBCPP_INLINE_VISIBILITY basic_string_view< _CharT, _Traits >::empty ( ) const
inline

Definition at line 279 of file libcpp_string_view.h.

◆ end()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_iterator basic_string_view< _CharT, _Traits >::end ( ) const
inline

Definition at line 248 of file libcpp_string_view.h.

◆ find() [1/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find ( _CharT  __c,
size_type  __pos = 0 
) const
inline

Definition at line 422 of file libcpp_string_view.h.

◆ find() [2/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = 0 
) const
inline

Definition at line 414 of file libcpp_string_view.h.

◆ find() [3/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 429 of file libcpp_string_view.h.

◆ find() [4/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find ( const _CharT *  __s,
size_type  __pos = 0 
) const
inline

Definition at line 437 of file libcpp_string_view.h.

◆ find_first_not_of() [1/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_first_not_of ( _CharT  __c,
size_type  __pos = 0 
) const
inline

Definition at line 544 of file libcpp_string_view.h.

◆ find_first_not_of() [2/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_first_not_of ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = 0 
) const
inline

Definition at line 536 of file libcpp_string_view.h.

◆ find_first_not_of() [3/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_first_not_of ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 551 of file libcpp_string_view.h.

◆ find_first_not_of() [4/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_first_not_of ( const _CharT *  __s,
size_type  __pos = 0 
) const
inline

Definition at line 559 of file libcpp_string_view.h.

◆ find_first_of() [1/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_first_of ( _CharT  __c,
size_type  __pos = 0 
) const
inline

Definition at line 486 of file libcpp_string_view.h.

◆ find_first_of() [2/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_first_of ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = 0 
) const
inline

Definition at line 478 of file libcpp_string_view.h.

◆ find_first_of() [3/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_first_of ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 490 of file libcpp_string_view.h.

◆ find_first_of() [4/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_first_of ( const _CharT *  __s,
size_type  __pos = 0 
) const
inline

Definition at line 498 of file libcpp_string_view.h.

◆ find_last_not_of() [1/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_last_not_of ( _CharT  __c,
size_type  __pos = npos 
) const
inline

Definition at line 576 of file libcpp_string_view.h.

◆ find_last_not_of() [2/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_last_not_of ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = npos 
) const
inline

Definition at line 568 of file libcpp_string_view.h.

◆ find_last_not_of() [3/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_last_not_of ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 583 of file libcpp_string_view.h.

◆ find_last_not_of() [4/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_last_not_of ( const _CharT *  __s,
size_type  __pos = npos 
) const
inline

Definition at line 591 of file libcpp_string_view.h.

◆ find_last_of() [1/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_last_of ( _CharT  __c,
size_type  __pos = npos 
) const
inline

Definition at line 515 of file libcpp_string_view.h.

◆ find_last_of() [2/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_last_of ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = npos 
) const
inline

Definition at line 507 of file libcpp_string_view.h.

◆ find_last_of() [3/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_last_of ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 519 of file libcpp_string_view.h.

◆ find_last_of() [4/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::find_last_of ( const _CharT *  __s,
size_type  __pos = npos 
) const
inline

Definition at line 527 of file libcpp_string_view.h.

◆ front()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_reference basic_string_view< _CharT, _Traits >::front ( ) const
inline

Definition at line 294 of file libcpp_string_view.h.

◆ length()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::length ( ) const
inline

Definition at line 273 of file libcpp_string_view.h.

◆ max_size()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::max_size ( ) const
inline

Definition at line 276 of file libcpp_string_view.h.

◆ operator basic_string< _CharT, _Traits, _Allocator >()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
template<class _Allocator >
_LIBCPP_INLINE_VISIBILITY _LIBCPP_EXPLICIT basic_string_view< _CharT, _Traits >::operator basic_string< _CharT, _Traits, _Allocator > ( ) const
inline

Definition at line 348 of file libcpp_string_view.h.

◆ operator=()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_INLINE_VISIBILITY basic_string_view & basic_string_view< _CharT, _Traits >::operator= ( const basic_string_view< _CharT, _Traits > &  )
default

◆ operator[]()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_reference basic_string_view< _CharT, _Traits >::operator[] ( size_type  __pos) const
inline

Definition at line 283 of file libcpp_string_view.h.

◆ rbegin()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_INLINE_VISIBILITY const_reverse_iterator basic_string_view< _CharT, _Traits >::rbegin ( ) const
inline

Definition at line 257 of file libcpp_string_view.h.

◆ remove_prefix()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY void basic_string_view< _CharT, _Traits >::remove_prefix ( size_type  __n)
inline

Definition at line 317 of file libcpp_string_view.h.

◆ remove_suffix()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY void basic_string_view< _CharT, _Traits >::remove_suffix ( size_type  __n)
inline

Definition at line 325 of file libcpp_string_view.h.

◆ rend()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_INLINE_VISIBILITY const_reverse_iterator basic_string_view< _CharT, _Traits >::rend ( ) const
inline

Definition at line 260 of file libcpp_string_view.h.

◆ rfind() [1/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::rfind ( _CharT  __c,
size_type  __pos = npos 
) const
inline

Definition at line 454 of file libcpp_string_view.h.

◆ rfind() [2/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::rfind ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = npos 
) const
inline

Definition at line 446 of file libcpp_string_view.h.

◆ rfind() [3/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::rfind ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 461 of file libcpp_string_view.h.

◆ rfind() [4/4]

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::rfind ( const _CharT *  __s,
size_type  __pos = npos 
) const
inline

Definition at line 469 of file libcpp_string_view.h.

◆ size()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::size ( ) const
inline

Definition at line 270 of file libcpp_string_view.h.

◆ substr()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR basic_string_view basic_string_view< _CharT, _Traits >::substr ( size_type  __pos = 0,
size_type  __n = npos 
) const
inline

Definition at line 361 of file libcpp_string_view.h.

◆ swap()

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY void basic_string_view< _CharT, _Traits >::swap ( basic_string_view< _CharT, _Traits > &  __other)
inline

Definition at line 332 of file libcpp_string_view.h.

Member Data Documentation

◆ __data

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
const value_type* basic_string_view< _CharT, _Traits >::__data
private

Definition at line 599 of file libcpp_string_view.h.

◆ __size

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
size_type basic_string_view< _CharT, _Traits >::__size
private

Definition at line 600 of file libcpp_string_view.h.

◆ npos

template<class _CharT , class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR const size_type basic_string_view< _CharT, _Traits >::npos = -1
static

Definition at line 215 of file libcpp_string_view.h.


The documentation for this class was generated from the following file: