$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-25 10:28:05
John Torjo wrote:
>> How? The difference between:
>> 
>>   locale::global(locale(), new vector_io_facet(.......))
>> 
>> and
>> 
>>   cout << vector_io_format(......)
>> 
>> is in interface, not implementation.
>> 
>> 
> 
> 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.
- Volodya