[boost.program_options] another constructor for option_description

7 Oct
2011
7 Oct
'11
5:11 p.m.
Hi list, Through options_description_easy_init::operator()(const char* name, const char* description), I can create an option_description with just the option name and description, without the value_semantic. However, all option_description class constructors require this value_semantic. Checking the code, I saw that options_description_easy_init uses untyped_value to create an option_description without type. Why not providing a set of constructors consistent with the options_description_easy_init::operator() operators? Kind regards, Guilherme -- Guilherme Maciel Ferreira Gtalk: guigasurf MSN: guigasurf@hotmail.com Mobile Brazil: +55 48 9904 3728 e +55 48 9134 4651 Skype: guilherme.maciel.ferreira
4995
Age (days ago)
4995
Last active (days ago)
0 comments
1 participants
participants (1)
-
Guilherme Maciel Ferreira