Boost logo

Boost Users :

Subject: [Boost-users] [program options] parsing std::string
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2013-05-29 06:24:11


Hello,

I want to parse std::string, perhaps into a vector<string>, but I do
not want the command line argument to be positional in nature (i.e.
like the examples demonstrate), because there may be a handful of
parameters I need to capture into string or vector<string>.

I've been able to parse integral types like int, even vector<int>, but
haven't had much success with string. Possible or is this a program
options "feature" and/or bug?

Regards,

Michael Powell


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net