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

Go to the source code of this file.

Classes

class  ap::argument< ArgT, T >
 Represents a command-line argument, either positional or optional. More...
 

Namespaces

namespace  ap
 

Typedefs

template<util::c_argument_value_type T = std::string>
using ap::positional_argument = argument< argument_type::positional, T >
 Positional argument alias.
 
template<util::c_argument_value_type T = std::string>
using ap::optional_argument = argument< argument_type::optional, T >
 Optional argument alias.
 

Enumerations

enum class  ap::argument_type : bool { ap::positional , ap::optional }
 A discriminator type used to specify the type of an argument within the ap::argument class. More...