
25 Oct
2004
25 Oct
'04
7:34 p.m.
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