Boost logo

Boost Users :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-10-11 11:07:23


Niklas Wiberg wrote:
> Hi,
> I'm using boost 1.33.0 on windows (VC++6).
> I would like to use a code_converter to convert internal
> std::wstring's (which I understand are ucs2 in windows/vstudio, but
> that shouldn't
> matter here I guess) to utf-8 when saving to file.
> Here is the failing code:

> The problem is that I get a crash as the stream is being destroyed.
> The call stack is too deep to include here, but one of the last
> things are: policy_type& dev() { return **dev_; }
> in boost.iostreams.detail.code_converter_impl
> which calls

> Am I going about this the completely wrong way or am I just missing
> some important detail?

It sounds like a bug in Iostreams; I'll look into it.

> Any help would be greatly appreciated,
> Niklas Wiberg

-- 
Jonathan Turkanis
www.kangaroologic.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net