converter
converting_streambuf
converting_stream
The Boost Iostreams library provides the following components for code conversion:
converter:
A Device adapter which which takes a Device with a narrow character type and produces a Device with wide character type by introducing a layer of code conversion performed using a std::codecvt
.
converting_streambuf:
A wide-character stream buffer template having an interface essentially identical to filtering_streambuf
, with the following additional property: after zero or more wide-character Filters have been added to the chain, a sequence of zero or more narrow-character Filters and a narrow character Device may be added. A converter
is inserted automatically between the final wide-character Filter and the first narrow-character Filter or Device. [Not implemented]
converting_stream
: A wide-character stream template having an interface essentially identical to filtering_stream
, with the following additional property: after zero or more wide-character Filters have been added to the chain, a sequence of zero or more narrow-character Filters and a narrow character Device may be added. A converter
is inserted automatically between the final wide-character Filter and the first narrow-character Filter or Device. [Not implemented]
<boost/iostreams/code_converter.hpp>
<boost/iostreams/converting_streambuf.hpp>
<boost/iostreams/converting_stream.hpp>
Revised 20 May, 2004
© Copyright Jonathan Turkanis, 2004
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)