boost::text::grapheme_ref
// In header: <boost/text/grapheme.hpp> template<code_point_iter I> struct grapheme_ref : public boost::text::utf32_view< I > { // types typedef I iterator; // construct/copy/destruct grapheme_ref() = default; grapheme_ref(iterator, iterator); grapheme_ref(utf32_view< iterator >); grapheme_ref(grapheme const &); // friend functions constexpr bool operator==(grapheme_ref, grapheme_ref); };
A non-owning reference to a range of code points that comprise a grapheme.
grapheme_ref
public
construct/copy/destructgrapheme_ref() = default;
Default ctor.
grapheme_ref(iterator first, iterator last);
Constructs *this from the code points [first, last).
Requires: |
The code points in [first, last) comprise at most one grapheme. |
grapheme_ref(utf32_view< iterator > r);
Constructs *this from r.
Requires: |
The code points in r comprise at most one grapheme. |
grapheme_ref(grapheme const & g);
Constructs *this from g.
grapheme_ref
friend functionsconstexpr bool operator==(grapheme_ref lhs, grapheme_ref rhs);
Returns true if lhs the same sequence of code points as rhs.