Function template collate
boost::text::v1::collate
Synopsis
template<code_point_range R1, code_point_range R2>
int collate(R1 const & r1, R2 const & r2, collation_table const & table,
collation_flags flags = collation_flags::none);
Description
Creates sort keys for r1
and r2
, then returns the result of calling compare() on the keys. Any optional settings flags will be honored, so long as they do not conflict with the settings on the given table.
Requires: |
r1 is normalized NFD or FCC.
|
Requires: |
r2 is normalized NFD or FCC.
|