Logo ROOT   6.08/07
Reference Guide
List of all members | Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
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 195 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 basic_string_view &) _NOEXCEPT=default
 
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 _CharT *__s, size_type __len)
 
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY basic_string_view (const _CharT *__s)
 
_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 (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 (const _CharT *__s) 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 (basic_string_view __s, size_type __pos=0) 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 (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 (basic_string_view __s, size_type __pos=0) const _NOEXCEPT
 
_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 (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 (basic_string_view __s, size_type __pos=0) const _NOEXCEPT
 
_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 (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 (basic_string_view __s, size_type __pos=npos) const _NOEXCEPT
 
_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 (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 (basic_string_view __s, size_type __pos=npos) const _NOEXCEPT
 
_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 (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 (basic_string_view __s, size_type __pos=npos) 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 (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
 
template<class _Allocator = allocator<_CharT>>
_LIBCPP_INLINE_VISIBILITY basic_string< _CharT, _Traits, _Allocator > to_string (const _Allocator &__a=_Allocator()) const
 

Static Public Attributes

static _LIBCPP_CONSTEXPR const size_type npos = -1
 

Private Attributes

const value_type__data
 
size_type __size
 

#include <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 204 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 201 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 203 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 206 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 209 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 205 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 200 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 202 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 207 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 208 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 198 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 199 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 214 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 224 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 228 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 235 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 281 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 295 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 240 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 246 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 249 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 305 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 373 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 ( size_type  __pos1,
size_type  __n1,
basic_string_view< _CharT, _Traits >  __sv 
) const
inline

Definition at line 383 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,
size_type  __pos2,
size_type  __n2 
) const
inline

Definition at line 389 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 ( const _CharT *  __s) const
inline

Definition at line 396 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 402 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 408 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 352 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 258 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 261 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 301 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 274 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 243 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 ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = 0 
) const
inline

Definition at line 415 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 ( _CharT  __c,
size_type  __pos = 0 
) const
inline

Definition at line 423 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 430 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 438 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 ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = 0 
) const
inline

Definition at line 537 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 ( _CharT  __c,
size_type  __pos = 0 
) const
inline

Definition at line 545 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 552 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 560 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 ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = 0 
) const
inline

Definition at line 479 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 ( _CharT  __c,
size_type  __pos = 0 
) const
inline

Definition at line 487 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 491 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 499 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 ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = npos 
) const
inline

Definition at line 569 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 ( _CharT  __c,
size_type  __pos = npos 
) const
inline

Definition at line 577 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 584 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 592 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 ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = npos 
) const
inline

Definition at line 508 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 ( _CharT  __c,
size_type  __pos = npos 
) const
inline

Definition at line 516 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 520 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 528 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 289 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 268 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 271 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 343 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 278 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 252 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 312 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 320 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 255 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 ( basic_string_view< _CharT, _Traits >  __s,
size_type  __pos = npos 
) const
inline

Definition at line 447 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 ( _CharT  __c,
size_type  __pos = npos 
) const
inline

Definition at line 455 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 462 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 470 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 265 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 362 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 327 of file libcpp_string_view.h.

◆ to_string()

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

Definition at line 349 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 600 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 601 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 210 of file libcpp_string_view.h.


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