CPP-AP 2.7.0
Command-line argument parser for C++20
Loading...
Searching...
No Matches
argument_parser.hpp File Reference

Main library header file. Defines the argument_parser class. More...

#include "argument/default.hpp"
#include "argument/optional.hpp"
#include "argument/positional.hpp"
#include "detail/argument_token.hpp"
#include "detail/concepts.hpp"
#include "version.hpp"
#include <algorithm>
#include <format>
#include <iostream>
#include <ranges>
#include <span>

Go to the source code of this file.

Classes

class  ap::argument_parser
 Main argument parser class. More...
 

Namespaces

namespace  ap
 
namespace  ap::detail
 

Functions

void ap::detail::add_default_argument (const argument::default_positional arg_discriminator, argument_parser &arg_parser) noexcept
 Adds a predefined/default positional argument to the parser.
 
void ap::detail::add_default_argument (const argument::default_optional arg_discriminator, argument_parser &arg_parser) noexcept
 Adds a predefined/default optional argument to the parser.
 

Detailed Description

Main library header file. Defines the argument_parser class.

Definition in file argument_parser.hpp.