|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2004-10-25 14:34:04
>>What I meant was that you can have an interface similar to:
>>
>>set_format( std::cout, "[%,%]" /* or whatever */);
>>
>>In this case, whether the implementation uses locales or not can be an
>>implementation detail.
>
>
> You can't hide it completely -- you'll either have per-stream setting or
> global setting.
>
In the case I outlined, it would be per-stream.
Best,
John
-- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/ -- v1.5 - tooltips at your fingertips (work for menus too!) + bitmap buttons (work for MessageBox too!) + tab dialogs, hyper links, lite html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk