gtopt/cli_options.hpp file

Modern C++ command-line option parsing (replaces boost::program_options)

Provides a lightweight command-line parser using only the C++ standard library. The public surface intentionally mirrors the subset of boost::program_options used by the project so that call-sites require minimal changes. Non-template implementation details live in cli_options.cpp.

Namespaces

namespace gtopt
namespace gtopt::cli

Classes

class gtopt::cli::options_description::adder
class gtopt::cli::command_line_parser
struct gtopt::cli::option_definition
class gtopt::cli::option_value
class gtopt::cli::options_description
class gtopt::cli::parse_error
class gtopt::cli::positional_options_description
template<typename T T>
struct gtopt::cli::typed_value
Tag type for typed option building.
class gtopt::cli::variables_map