Boost.Locale
|
This structure is used for representing boundary point that follows the offset. More...
#include <boost/locale/boundary/facets.hpp>
Public Member Functions | |
break_info () | |
break_info (size_t v) | |
bool | operator< (break_info const &other) const |
Public Attributes | |
size_t | offset |
rule_type | rule |
This structure is used for representing boundary point that follows the offset.
boost::locale::boundary::break_info::break_info | ( | ) | [inline] |
Create empty break point at beginning
boost::locale::boundary::break_info::break_info | ( | size_t | v | ) | [inline] |
Create empty break point at offset v. it is useful for order comparison with other points.
bool boost::locale::boundary::break_info::operator< | ( | break_info const & | other | ) | const [inline] |
Compare two break points' offset. Allows to search with standard algorithms over the index.
Offset from the beggining of the text where a break occurs.
The identification of this break point according to various break types