
5 Mar
2010
5 Mar
'10
8:59 a.m.
Il 04/03/2010 21:49, Thorsten Ottosen ha scritto:
Hi,
Is there some way to say
bpo::options_description desc("Allowed options"); desc.add_options() ("method", bpo::valuestd::string()->allowed_values("foo")("bar"), "" )
so I donøt have to reject the arguments manually?
Thanks
-Thorsten
Can you try using regex to cut off options?