Segmentation¶
-
template<BoundaryCondition
Break>
constexpr automax_lookbehind_v¶ The maximum number of code points preceding a position that need to be checked to determine whether a boundary exists according to
Break.
-
template<BoundaryCondition
Break>
constexpr automax_lookahead_v¶ The maximum number of code points succeeding a position that need to be checked to determine whether a boundary exists according to
Break.
-
template<BoundaryCondition
Break>
boolis_boundary_ignorable(code_point previous, code_point current)¶ Warning
This part of the interface is still being worked out; it is likely to change signficantly or to be removed before the next release.
Tests whether a code point is ignorable when determining boundaries.
Parameters: - previous – the code point that occurs before the one being tested
- current – the code point being tested
Returns: true if
currentcan be ignored to determine boundaries when followingprevious; false otherwise.
-
template<BoundaryCondition
Break, RandomAccessRangeRng>
boolis_boundary(Rng rng)¶ Warning
This part of the interface is still being worked out; it is likely to change signficantly or to be removed before the next release.
Tests whether a boundary exists at a given position in a range of code points.
Parameters: rng – the range of code points to check for a boundary. This range contains some code points before the position to be checked and some after it, as determined by var:max_lookbehind_v and var:max_lookahead_v. Returns: true if a boundary exists at the position checked, according to Break; false otherwise.