Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2003-05-27 13:48:02


On Tuesday, May 27, 2003, at 05:44 PM, John Torjo wrote:

>>> - does not work for wchar_t. While this might seem silly, it's not,
> since
>>> VC allows for a TCHAR* command line string.
>>
>> I have to consider this. An obvious approach would be to add template
>> parameter to every class, telling which char type to use. So
>> investigation
>> is needed to find alternatives --- making everything a template would
>> conflict with ability to compiler everything as shared library.
>>
>
> I don't think we need a template param.
> Just something like 'boost::program_options::char_type', which is by
> default
> char, and can be changed.
>
> It's not like we have multiple command lines or something ;-)

We could have some programs that use plain ASCII characters, and some
programs that want to support Unicode filenames. We should thus still
have support for both narrow and wide characters, and not just one
character type.

Matthias


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