Boost logo

Boost :

From: dietmar_kuehl_at_[hidden]
Date: 2001-09-26 13:06:35

--- In boost_at_y..., Jens Maurer <Jens.Maurer_at_g...> wrote:
> It looks like you can call imbue() at any time to set a new locale
> and thus change the encoding interpretation of the underlying
> stream at any time.

No, you can't: See paragraph 17. Basically, you can imbue
a new locale only if the stream is either positioned at the
beginning or if the conversion isn't state dependent. Wide character
encodings are, by definition, state dependent.

However, as pointed out before, this feature isn't necessary at all.

<mailto:dietmar_kuehl_at_[hidden]> <>
Phaidros eaSE - Easy Software Engineering: <>

Boost list run by bdawes at, gregod at, cpdaniel at, john at