In python, I can construct my optparse instance such that it will automatically filter out the options and non-option/flags into two different buckets:
(options, args) = parser.parse_args()
With boost::program_options, how do I retrieve a list of tokens which are the remaining non-option and non-flag tokens?
e.g. If my program has flags
--foo
--bar BAR
and I then pass in the command line:
--foo hey --bar BAR you
how can I get a list comprised solely of tokens "hey" and "you"