Boost logo

Boost :

Subject: Re: [boost] [locale] Strange(?) result in example code
From: Artyom (artyomtnk_at_[hidden])
Date: 2011-04-18 08:32:33


> >
> > Yes, basically if you want to do it fully for standard library and boost:
> >
> > std::locale::global(loc);
> > std::cout.imbue(loc);
> > std::cin.imbue(loc);
> > std::cerr.imbue(loc);
> > std::clog.imbue(loc);
> >
> > std::wcout.imbue(loc);
> > std::wcin.imbue(loc);
> > std::wcerr.imbue(loc);
> > std::wclog.imbue(loc);
> >
> > // this is for boost filesystem
> > boost::filesystem::path::imbue(loc);
>
> Thanks for this confirmation.
>
> This seems such an obviously attractive pit, I am sure Noah and I won't be
> the last to fall in it ;-)
>
> I think Boost.Locale docs would be a good place to remind users of locale of
> its existence, including a reference to 27.4.2.3/4 of C++03.
>

It will be added to the tutorial

Artyom


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk