[string.view.iterators] (original) (raw)

27 Strings library [strings]

27.3 String view classes [string.view]

27.3.3 Class template basic_string_view [string.view.template]

27.3.3.4 Iterator support [string.view.iterators]

using const_iterator = _implementation-defined_;

constexpr const_iterator begin() const noexcept;constexpr const_iterator cbegin() const noexcept;

Returns: An iterator such that

constexpr const_iterator end() const noexcept;constexpr const_iterator cend() const noexcept;

Returns: begin() + size().

constexpr const_reverse_iterator rbegin() const noexcept;constexpr const_reverse_iterator crbegin() const noexcept;

Returns: const_reverse_iterator(end()).

constexpr const_reverse_iterator rend() const noexcept;constexpr const_reverse_iterator crend() const noexcept;

Returns: const_reverse_iterator(begin()).