17#include <boost/bind/bind.hpp>
18#include <boost/program_options.hpp>
19#include <boost/tokenizer.hpp>
21typedef boost::program_options::options_description MetaParser_options;
22namespace MetaParser_def = boost::program_options;
26 boost::program_options::options_description desc;
28 boost::program_options::variables_map vm;
32 explicit MetaParser(boost::program_options::options_description & desc)
44 std::istringstream iss(opts);
47 boost::program_options::store(boost::program_options::parse_config_file(iss,desc), vm);
48 boost::program_options::notify(vm);
66 value = vm[opt].as<T>();