...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::basic_parsed_options<wchar_t>
// In header: <boost/program_options/parsers.hpp> class basic_parsed_options<wchar_t> { public: // construct/copy/destruct explicit basic_parsed_options(const basic_parsed_options< char > &); // public data members std::vector< basic_option< wchar_t > > options; const options_description * description; basic_parsed_options< char > utf8_encoded_options; int m_options_prefix; };
Specialization of basic_parsed_options which:
provides convenient conversion from basic_parsed_options<char>
stores the passed char-based options for later use.
basic_parsed_options
public
construct/copy/destructexplicit basic_parsed_options(const basic_parsed_options< char > & po);
Constructs wrapped options from options in UTF8 encoding.
basic_parsed_options
public
public data membersbasic_parsed_options< char > utf8_encoded_options;
Stores UTF8 encoded options that were passed to constructor, to avoid reverse conversion in some cases.
int m_options_prefix;
Mainly used for the diagnostic messages in exceptions. The canonical option prefix for the parser which generated these results, depending on the settings for basic_command_line_parser::style() or cmdline::style(). In order of precedence of command_line_style enums: allow_long allow_long_disguise allow_dash_for_short allow_slash_for_short