template<class _CharT, class _Traits = _VSTD::char_traits<_CharT>>
class basic_string_view< _CharT, _Traits >
Definition at line 199 of file libcpp_string_view.h.
|
_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_view & | operator= (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 |
|