PrevUpHomeNext

Struct composer

boost::unicode::composer

Synopsis

// In header: <boost/unicode/compose_fwd.hpp>


struct composer {
  // types
  typedef char32         input_type; 
  typedef char32         output_type;
  typedef mpl::int_< 1 > max_output; 

  // public member functions
  template<typename In, typename Out> Out ltr(In &, In, Out);
  template<typename In, typename Out> Out rtl(In, In &, Out);
};

Description

Model of Converter that composes a sequence of code points, i.e. it converts a sequence of code points into a single code point. It applies UCD canonical compositions as well as the Hangul compositions, excluding the ones from the composition exclusion table.

composer public member functions

  1. template<typename In, typename Out> Out ltr(In & begin, In end, Out out);

    Requires:

    [begin, end[ is in Normalization Form D.

    Postconditions:

    out is in Normalization Form C.

  2. template<typename In, typename Out> Out rtl(In begin, In & end, Out out);

    Requires:

    [begin, end[ is in Normalization Form D.

    Postconditions:

    out is in Normalization Form C.


PrevUpHomeNext