From: John Torjo (john_at_[hidden])
Date: 2003-04-24 08:59:50
> > std::ofstream out("out.txt");
> > marg_stream m(out);
> > locale l( "german");
> > out.imbue( l);
> > m << 5.23 << std::endl;
> I'll have to try it, but I think the ctor either flushes the
> out.rdbuf or copies it to m.rdbuf; hence, it MIGHT work.
But this (the locale) is not kept in the std::streambuf.
It's kept inside the std::ostream itself. That's why it won't work.
Am I right?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk