static const grapheme_segment & instance()
Returns the instance.
~grapheme_segment()
Destroys the grapheme segment.
break_property_type
A break peoperty type.
Definition grapheme_segment.hpp:29
@ l
L.
Definition grapheme_segment.hpp:38
@ cr
CR.
Definition grapheme_segment.hpp:30
@ lvt
LVT.
Definition grapheme_segment.hpp:42
@ regional
Regional.
Definition grapheme_segment.hpp:35
@ prepend
Prepend.
Definition grapheme_segment.hpp:36
@ lf
LF.
Definition grapheme_segment.hpp:31
@ other
Other.
Definition grapheme_segment.hpp:43
@ lv
LV.
Definition grapheme_segment.hpp:41
@ spacing_mark
SpacingMark.
Definition grapheme_segment.hpp:37
@ v
V.
Definition grapheme_segment.hpp:39
@ extend
Extend.
Definition grapheme_segment.hpp:33
@ t
T.
Definition grapheme_segment.hpp:40
@ zwj
ZWJ.
Definition grapheme_segment.hpp:34
@ control
Control.
Definition grapheme_segment.hpp:32
std::vector< std::size_t > segment_offsets(const std::vector< break_property_type > &break_properties) const
Returns the grapheme offsets.
A grapheme splitting library.