|
CPP-AP 3.0.1
Command-line argument parser for C++20
|
Classes | |
| class | range |
| Argument's number of values managing class. More... | |
Typedefs | |
| using | count_type = std::size_t |
Functions | |
| constexpr range | at_least (const count_type n) noexcept |
range class builder function. Creates a range [n, inf). | |
| constexpr range | more_than (const count_type n) noexcept |
range class builder function. Creates a range [n + 1, inf). | |
| constexpr range | less_than (const count_type n) noexcept |
range class builder function. Creates a range [0, n - 1]. | |
| constexpr range | up_to (const count_type n) noexcept |
range class builder function. Creates a range [0, n]. | |
| constexpr range | any () noexcept |
range class builder function. Creates a range [0, inf]. | |
Variables | |
| constexpr count_type | min_bound = std::numeric_limits<count_type>::min() |
The minimum bound for the nargs::range class. | |
| constexpr count_type | max_bound = std::numeric_limits<count_type>::max() |
The maximum bound for the nargs::range class. | |
| using ap::nargs::count_type = typedef std::size_t |
|
constexprnoexcept |
|
constexprnoexcept |
range class builder function. Creates a range [n, inf).
| n | The lower bound. |
range class instance.
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexpr |
The maximum bound for the nargs::range class.
|
constexpr |
The minimum bound for the nargs::range class.