...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::program_options::options_description_easy_init
// In header: <boost/program_options/options_description.hpp> class options_description_easy_init { public: // construct/copy/destruct options_description_easy_init(options_description *); // public member functions options_description_easy_init & operator()(const char *, const char *); options_description_easy_init & operator()(const char *, const value_semantic *); options_description_easy_init & operator()(const char *, const value_semantic *, const char *); };
Class which provides convenient creation syntax to option_description.
options_description_easy_init
public
construct/copy/destructoptions_description_easy_init(options_description * owner);
options_description_easy_init
public member functionsoptions_description_easy_init & operator()(const char * name, const char * description);
options_description_easy_init & operator()(const char * name, const value_semantic * s);
options_description_easy_init & operator()(const char * name, const value_semantic * s, const char * description);