Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
Boost.Nowide
boost::nowide::utf8_codecvt< CharType, CharSize > Class Template Reference

#include <boost/nowide/utf8_codecvt.hpp>

Detailed Description

template<typename CharType, int CharSize = sizeof(CharType)>
class boost::nowide::utf8_codecvt< CharType, CharSize >

std::codecvt implementation that converts between UTF-8 and UTF-16 or UTF-32

Template Parameters
CharSizeDetermines the encoding: 2 for UTF-16, 4 for UTF-32

Invalid sequences are replaced by BOOST_NOWIDE_REPLACEMENT_CHARACTER A trailing incomplete sequence will result in a return value of std::codecvt::partial


The documentation for this class was generated from the following file: