libt3widget
List of all members | Public Types | Public Member Functions | Static Public Attributes
t3widget::basic_string_view< CharT, Traits > Class Template Reference

Public Types

using const_iterator = const CharT *
 
using const_pointer = const CharT *
 
using const_reference = const CharT &
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 
using difference_type = std::ptrdiff_t
 
using iterator = const_iterator
 
using pointer = CharT *
 
using reference = CharT &
 
using reverse_iterator = const_reverse_iterator
 
using size_type = std::size_t
 
using traits_type = Traits
 
using value_type = CharT
 

Public Member Functions

_T3_WIDGET_TEST_CONSTEXPR const CharT & at (size_type pos) const
 
constexpr const CharT & back () const
 
constexpr basic_string_view (const basic_string_view &view) noexcept=default
 
constexpr basic_string_view (const CharT *data)
 
constexpr basic_string_view (const CharT *data, size_type size)
 
 basic_string_view (const std::basic_string< CharT, Traits > &str) noexcept
 
constexpr const_iterator begin () const noexcept
 
constexpr const_iterator cbegin () const noexcept
 
constexpr const_iterator cend () const noexcept
 
_T3_WIDGET_TEST_CONSTEXPR int compare (basic_string_view v) const noexcept
 
constexpr int compare (const CharT *s) const
 
constexpr int compare (size_type pos1, size_type count1, basic_string_view v) const
 
constexpr int compare (size_type pos1, size_type count1, basic_string_view v, size_type pos2, size_type count2) const
 
constexpr int compare (size_type pos1, size_type count1, const CharT *s) const
 
constexpr int compare (size_type pos1, size_type count1, const CharT *s, size_type count2) const
 
size_type copy (CharT *dest, size_type count, size_type pos=0) const
 
constexpr const_reverse_iterator crbegin () const noexcept
 
constexpr const_reverse_iterator crend () const noexcept
 
constexpr const CharT * data () const noexcept
 
constexpr bool empty () const noexcept
 
constexpr const_iterator end () const noexcept
 
constexpr bool ends_with (basic_string_view v) const noexcept
 
constexpr bool ends_with (CharT c) const noexcept
 
constexpr bool ends_with (const CharT *s) const
 
_T3_WIDGET_TEST_CONSTEXPR size_type find (basic_string_view v, size_type pos=0) const noexcept
 
_T3_WIDGET_TEST_CONSTEXPR size_type find (CharT c, size_type pos=0) const noexcept
 
constexpr size_type find (const CharT *s, size_type pos, size_type count) const
 
constexpr size_type find (const CharT *s, size_type pos=0) const
 
_T3_WIDGET_TEST_CONSTEXPR size_type find_first_not_of (basic_string_view v, size_type pos=0) const noexcept
 
_T3_WIDGET_TEST_CONSTEXPR size_type find_first_not_of (CharT c, size_type pos=0) const noexcept
 
constexpr size_type find_first_not_of (const CharT *s, size_type pos, size_type count) const
 
constexpr size_type find_first_not_of (const CharT *s, size_type pos=0) const
 
_T3_WIDGET_TEST_CONSTEXPR size_type find_first_of (basic_string_view v, size_type pos=0) const noexcept
 
constexpr size_type find_first_of (CharT c, size_type pos=0) const noexcept
 
constexpr size_type find_first_of (const CharT *s, size_type pos, size_type count) const
 
constexpr size_type find_first_of (const CharT *s, size_type pos=0) const
 
_T3_WIDGET_TEST_CONSTEXPR size_type find_last_not_of (basic_string_view v, size_type pos=npos) const noexcept
 
_T3_WIDGET_TEST_CONSTEXPR size_type find_last_not_of (CharT c, size_type pos=npos) const noexcept
 
constexpr size_type find_last_not_of (const CharT *s, size_type pos, size_type count) const
 
constexpr size_type find_last_not_of (const CharT *s, size_type pos=npos) const
 
_T3_WIDGET_TEST_CONSTEXPR size_type find_last_of (basic_string_view v, size_type pos=npos) const noexcept
 
constexpr size_type find_last_of (CharT c, size_type pos=npos) const noexcept
 
constexpr size_type find_last_of (const CharT *s, size_type pos, size_type count) const
 
constexpr size_type find_last_of (const CharT *s, size_type pos=npos) const
 
constexpr const CharT & front () const
 
constexpr size_type length () const noexcept
 
constexpr size_type max_size () const noexcept
 
 operator std::basic_string< CharT, Traits > () const
 
basic_string_viewoperator= (const basic_string_view &view) noexcept=default
 
constexpr const CharT & operator[] (size_type pos) const
 
constexpr const_reverse_iterator rbegin () const noexcept
 
_T3_WIDGET_TEST_CONSTEXPR void remove_prefix (size_type n)
 
_T3_WIDGET_TEST_CONSTEXPR void remove_suffix (size_type n)
 
constexpr const_reverse_iterator rend () const noexcept
 
_T3_WIDGET_TEST_CONSTEXPR size_type rfind (basic_string_view v, size_type pos=npos) const noexcept
 
_T3_WIDGET_TEST_CONSTEXPR size_type rfind (CharT c, size_type pos=npos) const noexcept
 
constexpr size_type rfind (const CharT *s, size_type pos, size_type count) const
 
constexpr size_type rfind (const CharT *s, size_type pos=npos) const
 
constexpr size_type size () const noexcept
 
constexpr bool starts_with (basic_string_view v) const noexcept
 
constexpr bool starts_with (CharT c) const noexcept
 
constexpr bool starts_with (const CharT *s) const
 
_T3_WIDGET_TEST_CONSTEXPR basic_string_view substr (size_type pos=0, size_type count=npos) const
 
_T3_WIDGET_TEST_CONSTEXPR void swap (basic_string_view &v) noexcept
 

Static Public Attributes

static constexpr size_type npos