ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 _Traits traits_type
 
typedef _CharT value_type
 
typedef const _CharT * pointer
 
typedef const _CharT * const_pointer
 
typedef const _CharT & reference
 
typedef const _CharT & const_reference
 
typedef const_pointer const_iterator
 
typedef const_iterator iterator
 
typedef
_VSTD::reverse_iterator
< const_iterator
const_reverse_iterator
 
typedef const_reverse_iterator reverse_iterator
 
typedef size_t size_type
 
typedef ptrdiff_t difference_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
 
_LIBCPP_INLINE_VISIBILITY
basic_string_view
operator= (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_iterator 
begin () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
const_iterator 
end () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
const_iterator 
cbegin () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
const_iterator 
cend () const _NOEXCEPT
 
_LIBCPP_INLINE_VISIBILITY
const_reverse_iterator 
rbegin () const _NOEXCEPT
 
_LIBCPP_INLINE_VISIBILITY
const_reverse_iterator 
rend () const _NOEXCEPT
 
_LIBCPP_INLINE_VISIBILITY
const_reverse_iterator 
crbegin () const _NOEXCEPT
 
_LIBCPP_INLINE_VISIBILITY
const_reverse_iterator 
crend () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
size_type 
size () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
size_type 
length () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
size_type 
max_size () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR bool
_LIBCPP_INLINE_VISIBILITY 
empty () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
const_reference 
operator[] (size_type __pos) const
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
const_reference 
at (size_type __pos) const
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
const_reference 
front () const
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
const_reference 
back () const
 
_LIBCPP_CONSTEXPR
_LIBCPP_INLINE_VISIBILITY
const_pointer 
data () const _NOEXCEPT
 
_LIBCPP_CONSTEXPR_AFTER_CXX11
_LIBCPP_INLINE_VISIBILITY void 
clear () _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_CONSTEXPR_AFTER_CXX11
_LIBCPP_INLINE_VISIBILITY void 
swap (basic_string_view &__other) _NOEXCEPT
 
template<class _Allocator >
_LIBCPP_INLINE_VISIBILITY
_LIBCPP_EXPLICIT 
operator basic_string< _CharT, _Traits, _Allocator > () const
 
template<class _Allocator = allocator<_CharT>>
_LIBCPP_INLINE_VISIBILITY
basic_string< _CharT, _Traits,
_Allocator > 
to_string (const _Allocator &__a=_Allocator()) const
 
size_type copy (_CharT *__s, size_type __n, size_type __pos=0) const
 
_LIBCPP_CONSTEXPR basic_string_view substr (size_type __pos=0, size_type __n=npos) const
 
_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
 
_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 
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_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_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_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_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
 

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

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.

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
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.

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.

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

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.

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.

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.

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.

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.

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.

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.

Referenced by TClassEdit::IsDefAlloc().

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.

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.

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.

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.

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.

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.

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.

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.

template<class _CharT, class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY const_pointer basic_string_view< _CharT, _Traits >::data ( ) const
inline
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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Referenced by TClassEdit::IsDefAlloc().

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.

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.

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
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.

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.

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.

Referenced by TClassEdit::IsDefAlloc().

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.

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.

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.

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.

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.

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.

template<class _CharT, class _Traits = _VSTD::char_traits<_CharT>>
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY size_type basic_string_view< _CharT, _Traits >::size ( ) const
inline
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.

Referenced by basic_string_view< _CharT, _Traits >::compare().

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.

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

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.

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.

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: