Boost logo

Boost :

Subject: Re: [boost] Boost.Application
From: Joshua Boyce (raptorfactor_at_[hidden])
Date: 2012-01-26 03:08:50


On Thu, Jan 26, 2012 at 6:41 PM, Christof Donat <cd_at_[hidden]> wrote:
>
> When writing an application, how do I use boost::program_options to parse a
> std::vector< std::string >? At least I have not found any overloaded
> version
> of parse_command_line(). Maybe I have just not seen it.
>
>
The tutorial explains this. Also, see main_tutorial_3.cpp.

While we're on the topic of parsing command line arguments though, that is
another spot I'd definitely like support for wide strings (see wmain,
wWinMain, GetCommandLineW, etc). Well, pretty much everywhere tbh...


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