CPP-ARGON 4.0.0
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  argon::argument< ArgT, T >
 Represents a command-line argument, either positional or optional. More...
 

Namespaces

namespace  argon
 

Typedefs

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

Enumerations

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