![]() |
Home | Libraries | People | FAQ | More |
boost::program_options::bool_switch
// In header: <boost/program_options/value_semantic.hpp> typed_value< (); typed_value< ( v);
Works the same way as the 'value<bool>' function, but the created value_semantic
won't accept any explicit value. So, if the option is present on the command line, the value will be 'true'.