PrevUpHomeNext

Function template collation_sort_key

boost::text::v1::collation_sort_key

Synopsis

// In header: <boost/text/collate.hpp>


template<code_point_range R> 
  text_sort_key 
  collation_sort_key(R && r, collation_table const & table, 
                     collation_flags flags = collation_flags::none);

Description

Returns a collation sort key for the code points in r, using the given collation table. Any optional settings flags will be honored, so long as they do not conflict with the settings on the given table.

Returns a collation sort key for the graphemes in r, using the given collation table. Any optional settings flags will be honored, so long as they do not conflict with the settings on the given table.

Requires:

r is normalized NFD or FCC.

Requires:

r is normalized NFD or FCC.


PrevUpHomeNext