Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-26 00:15:15


Hi John,

John Torjo wrote:

>> The formal review of Vladimir Prus' Command Line & Config
>> ("program_options") library starts today, May 21, and will continue until
>> Monday, June 2nd. I will be serving as review manager.
>>
>
> It's a great library! For my needs I could say it's more than enough!
> Works like a charm with gcc.

I'm glad you liked it!

> A few comments though:
> - unfortunaly, does not work with VC6. How hard would it be to port it?
> I did not dig too deep.

I cannot estimate how feasible a port would be --- since I don't use VC6
regularly. I'll try to do something after review -- hopefully with some
luck.

> - 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.

> - could allow parsing from a command line string.
> This is because, on Win32, you have something like:
>
> extern "C" int WINAPI _tWinMain(HINSTANCE hInstance,
> HINSTANCE /*hPrevInstance*/, LPTSTR lpCmdLine, int /*nShowCmd*/)
>
> or GetCommandLine()

This is planned feature --- several other persons expressed a desire for it.

Thanks,
Volodya


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