Boost logo

Boost :

From: Bryan Leppard (leppard_at_[hidden])
Date: 2004-02-11 18:11:44


Any plans on adding support for parsing wchar_t in the program_options lib?
It is hard coded with std::string right now which makes it kind of useless
in a program where argv is a wchar_t**.

It could be templatized so that it can be based on any kind of
std::basic_string.

Alternatively, you could use preprocessor defines to control whether it
builds for ANSI or UNICODE. This would probably be adequate for its intended
use as well as less complicated to implement but I suspect it would not be
portable enough for BOOST.

Regards,

Bryan Leppard
Neotechnology Consultants Ltd.


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