$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-01-07 01:06:24
Jonathan Turkanis wrote:
> template<typename WideStr>
> basic_string<typename Codecvt::extern_type>
actually the return type here is always std::string, since there is no Codecvt
parameter
> narrow(const WideStr& str)
> {
> string_converter<> cvt;
> return cvt::narrow(str);
> }
>
> template<typename NarrowStr>
> basic_string<typename Codecvt::intern_type>
and here it's always std::wstring.
> widen(const NarrowStr& str)
> {
> string_converter<> cvt;
> return cvt::widen(str);
> }
Jonathan