PrevUpHomeNext

Struct collation_compare

boost::text::collation_compare

Synopsis

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


struct collation_compare {
  // construct/copy/destruct
  collation_compare(collation_table, collation_strength, 
                    case_first = case_first::off, 
                    case_level = case_level::off, 
                    variable_weighting = variable_weighting::non_ignorable, 
                    l2_weight_order = l2_weight_order::forward);
  collation_compare(collation_table, collation_flags);

  // public member functions
  template<code_point_range R1, code_point_range R2> 
    bool operator()(R1 const &, R2 const &) const;
};

Description

A function object suitable for use with standard algorithms that accept a comparison object.

collation_compare public construct/copy/destruct

  1. collation_compare(collation_table table, collation_strength strength, 
                      case_first case_1st = case_first::off, 
                      case_level case_lvl = case_level::off, 
                      variable_weighting weighting = variable_weighting::non_ignorable, 
                      l2_weight_order l2_order = l2_weight_order::forward);
  2. collation_compare(collation_table table, collation_flags flags);

collation_compare public member functions

  1. template<code_point_range R1, code_point_range R2> 
      bool operator()(R1 const & r1, R2 const & r2) const;

    Compares code point ranges R1 and R2.


PrevUpHomeNext