string_view.h
Go to the documentation of this file.
468RTTR_INLINE std::basic_string<CharT, Traits> operator+(const std::basic_string<CharT, Traits>& lhs,
The array_range class provides a view into an underlying data structure with lower and upper limits.
Definition array_range.h:64
The class template basic_string_view describes an non-owning reference to a constant contiguous seque...
Definition string_view.h:49
constexpr const_reference back() const
Returns reference to the last character in the view.
constexpr void remove_suffix(size_type n) noexcept
Moves the end of the view back by n characters.
constexpr const_iterator cbegin() const noexcept
Returns an iterator to the beginning of the view.
constexpr int compare(basic_string_view v) const noexcept
The function compares the two views by calling Traits::compare(data(), v.data(), length),...
std::reverse_iterator< const_iterator > const_reverse_iterator
Definition string_view.h:59
const_reverse_iterator crbegin() const noexcept
Returns a reverse iterator to the first character of the reversed view.
constexpr const_iterator end() const noexcept
Returns an iterator to the character following the last character of the view.
constexpr basic_string_view() noexcept
Default constructor.
constexpr const_iterator begin() const noexcept
Returns an iterator to the beginning of the view.
constexpr size_type length() const noexcept
Returns the number of CharT elements in the view, i.e.
const_reverse_iterator reverse_iterator
Definition string_view.h:60
std::basic_string< CharT, Traits > to_string(const Allocator &a=Allocator()) const
Creates a basic_string with a copy of the content of the current view.
constexpr size_type max_size() const noexcept
The largest possible number of char-like objects that can be referred to by a basic_string_view.
const_reverse_iterator rend() const noexcept
Returns a reverse iterator to the character following the last character of the reversed view.
constexpr const_iterator cend() const noexcept
Returns an iterator to the character following the last character of the view.
const_reverse_iterator crend() const noexcept
Returns a reverse iterator to the character following the last character of the reversed view.
const_reverse_iterator rbegin() const noexcept
Returns a reverse iterator to the first character of the reversed view.
constexpr const_pointer data() const noexcept
Returns a pointer to the underlying character array.
constexpr const_reference front() const
Returns reference to the first character in the view.
constexpr bool empty() const noexcept
Checks if the view has no characters, i.e.
constexpr size_type size() const noexcept
Returns the number of CharT elements in the view, i.e.
constexpr void swap(basic_string_view &s) noexcept
constexpr void remove_prefix(size_type n) noexcept
Moves the start of the view forward by n characters.
Definition access_levels.h:34
Generated on Fri Jan 26 2024 00:00:00 for rttr - 0.9.7 by doxygen.