header_utils
Loading...
Searching...
No Matches
ghassanpl::string_ops::utf8_view< R > Struct Template Reference

A simple view over an UTF8 string range with codepoint values. More...

Public Member Functions

constexpr utf8_view (R base)
template<typename... ARGS>
constexpr utf8_view (ARGS &&... args)
constexpr R base () const &
constexpr R base () &&
constexpr auto begin () const
constexpr auto end () const

Detailed Description

template<std::ranges::view R>
struct ghassanpl::string_ops::utf8_view< R >

A simple view over an UTF8 string range with codepoint values.

Definition at line 1109 of file unicode.h.

Constructor & Destructor Documentation

◆ utf8_view() [1/2]

template<std::ranges::view R>
ghassanpl::string_ops::utf8_view< R >::utf8_view ( R base)
inlineconstexpr

Definition at line 1184 of file unicode.h.

◆ utf8_view() [2/2]

template<std::ranges::view R>
template<typename... ARGS>
ghassanpl::string_ops::utf8_view< R >::utf8_view ( ARGS &&... args)
inlineexplicitconstexpr

Definition at line 1191 of file unicode.h.

Member Function Documentation

◆ base() [1/2]

template<std::ranges::view R>
R ghassanpl::string_ops::utf8_view< R >::base ( ) &&
inlineconstexpr

Definition at line 1200 of file unicode.h.

◆ base() [2/2]

template<std::ranges::view R>
R ghassanpl::string_ops::utf8_view< R >::base ( ) const &
inlineconstexpr

Definition at line 1196 of file unicode.h.

◆ begin()

template<std::ranges::view R>
auto ghassanpl::string_ops::utf8_view< R >::begin ( ) const
inlineconstexpr

Definition at line 1205 of file unicode.h.

◆ end()

template<std::ranges::view R>
auto ghassanpl::string_ops::utf8_view< R >::end ( ) const
inlineconstexpr

Definition at line 1210 of file unicode.h.