CPP-AP 2.7.0
Command-line argument parser for C++20
|
Defines the nargs::range
class and it's builder functions.
More...
#include <optional>
#include <ostream>
Go to the source code of this file.
Classes | |
class | ap::nargs::range |
Argument's number of values managing class. More... | |
Namespaces | |
namespace | ap |
namespace | ap::nargs |
Functions | |
range | ap::nargs::at_least (const range::count_type n) noexcept |
range class builder function. Creates a range [n, inf]. | |
range | ap::nargs::more_than (const range::count_type n) noexcept |
range class builder function. Creates a range [n + 1, inf]. | |
range | ap::nargs::less_than (const range::count_type n) noexcept |
range class builder function. Creates a range [0, n - 1]. | |
range | ap::nargs::up_to (const range::count_type n) noexcept |
range class builder function. Creates a range [0, n]. | |
range | ap::nargs::any () noexcept |
range class builder function. Creates a range [0, inf]. | |
Defines the nargs::range
class and it's builder functions.
Definition in file range.hpp.