PrevUpHomeNext

Struct locale_utf_transcoder

boost::unicode::locale_utf_transcoder

Synopsis

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


struct locale_utf_transcoder {
  // types
  typedef char                                                         input_type; 
  typedef wchar_t                                                      output_type;
  typedef codecvt_out_converter< input_type, output_type >::max_output max_output; 

  // construct/copy/destruct
  locale_utf_transcoder(std::locale = std::locale(getenv("LANG")));

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

Description

locale_utf_transcoder public construct/copy/destruct

  1. locale_utf_transcoder(std::locale loc_ = std::locale(getenv("LANG")));

locale_utf_transcoder public member functions

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

PrevUpHomeNext