C++ Essence Library 0.1.0
A Utility Library for Modern C++ Programming
Loading...
Searching...
No Matches
essence::basic_zstring_view< CharT, Traits > Class Template Reference

Public Types

using underlying_type = std::basic_string_view<CharT, Traits>
 
using traits_type = typename underlying_type::traits_type
 
using value_type = typename underlying_type::value_type
 
using pointer = typename underlying_type::pointer
 
using const_pointer = typename underlying_type::const_pointer
 
using reference = typename underlying_type::reference
 
using const_reference = typename underlying_type::const_reference
 
using const_iterator = typename underlying_type::const_iterator
 
using iterator = typename underlying_type::iterator
 
using const_reverse_iterator = typename underlying_type::const_reverse_iterator
 
using reverse_iterator = typename underlying_type::reverse_iterator
 
using size_type = typename underlying_type::size_type
 
using difference_type = typename underlying_type::difference_type
 

Public Member Functions

constexpr basic_zstring_view (const basic_zstring_view &) noexcept=default
 
constexpr basic_zstring_view (const CharT *str)
 
constexpr basic_zstring_view (const CharT *str, size_type size)
 
template<typename Allocator >
constexpr basic_zstring_view (const std::basic_string< CharT, Traits, Allocator > &str)
 
template<typename Iter , typename End >
constexpr basic_zstring_view (Iter first, End last)
 
constexpr basic_zstring_view (std::nullptr_t)=delete
 
constexpr operator underlying_type () const noexcept
 
constexpr const_iterator begin () const noexcept
 
constexpr const_iterator cbegin () const noexcept
 
constexpr const_iterator end () const noexcept
 
constexpr const_iterator cend () const noexcept
 
constexpr const_reverse_iterator rbegin () const noexcept
 
constexpr const_reverse_iterator crbegin () const noexcept
 
constexpr const_reverse_iterator rend () const noexcept
 
constexpr const_reverse_iterator crend () const noexcept
 
constexpr const_reference operator[] (size_type index) const
 
constexpr const_reference at (size_type index) const
 
constexpr const_reference front () const
 
constexpr const_reference back () const
 
constexpr const_pointer data () const noexcept
 
constexpr const_pointer c_str () const noexcept
 
constexpr size_type size () const noexcept
 
constexpr size_type length () const noexcept
 
constexpr size_type max_size () const noexcept
 
constexpr bool empty () const noexcept
 
constexpr size_type find (basic_zstring_view view, size_type offset=0) const noexcept
 
constexpr size_type find (CharT ch, size_type offset=0) const noexcept
 
constexpr size_type find (const CharT *str, size_type offset, size_type count) const
 
constexpr size_type find (const CharT *str, size_type offset=0) const
 
constexpr size_type rfind (basic_zstring_view view, size_type offset=npos) const noexcept
 
constexpr size_type rfind (CharT ch, size_type offset=npos) const noexcept
 
constexpr size_type rfind (const CharT *str, size_type offset, size_type count) const
 
constexpr size_type rfind (const CharT *str, size_type offset=npos) const
 
constexpr size_type find_first_of (basic_zstring_view view, size_type offset=0) const noexcept
 
constexpr size_type find_first_of (CharT ch, size_type offset=0) const noexcept
 
constexpr size_type find_first_of (const CharT *str, size_type offset, size_type count) const
 
constexpr size_type find_first_of (const CharT *str, size_type offset=0) const
 
constexpr size_type find_last_of (basic_zstring_view view, size_type offset=npos) const noexcept
 
constexpr size_type find_last_of (CharT ch, size_type offset=npos) const noexcept
 
constexpr size_type find_last_of (const CharT *str, size_type offset, size_type count) const
 
constexpr size_type find_last_of (const CharT *str, size_type offset=npos) const
 
constexpr size_type find_first_not_of (basic_zstring_view view, size_type offset=0) const noexcept
 
constexpr size_type find_first_not_of (CharT ch, size_type offset=0) const noexcept
 
constexpr size_type find_first_not_of (const CharT *str, size_type offset, size_type count) const
 
constexpr size_type find_first_not_of (const CharT *str, size_type offset=0) const
 
constexpr size_type find_last_not_of (basic_zstring_view view, size_type offset=npos) const noexcept
 
constexpr size_type find_last_not_of (CharT ch, size_type offset=npos) const noexcept
 
constexpr size_type find_last_not_of (const CharT *str, size_type offset, size_type count) const
 
constexpr size_type find_last_not_of (const CharT *str, size_type offset=npos) const
 

Static Public Attributes

static constexpr size_type npos = underlying_type::npos
 

Friends

template<typename OtherTraits >
constexpr bool operator== (basic_zstring_view< CharT, OtherTraits > left, basic_zstring_view< CharT, OtherTraits > right) noexcept
 

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