Defines the nargs::range
class and it's builder functions.
More...
#include <optional>
#include <ostream>
Go to the source code of this file.
Defines the nargs::range
class and it's builder functions.
Definition in file range.hpp.
◆ any()
range
class builder function. Creates a range [0, inf].
- Returns
- Built
range
class instance.
Definition at line 170 of file range.hpp.
◆ at_least()
range ap::nargs::at_least |
( |
const range::count_type |
n | ) |
|
|
inlinenoexcept |
range
class builder function. Creates a range [n, inf].
- Parameters
-
- Returns
- Built
range
class instance.
Definition at line 135 of file range.hpp.
◆ less_than()
range ap::nargs::less_than |
( |
const range::count_type |
n | ) |
|
|
inlinenoexcept |
range
class builder function. Creates a range [0, n - 1].
- Parameters
-
- Returns
- Built
range
class instance.
Definition at line 153 of file range.hpp.
◆ more_than()
range ap::nargs::more_than |
( |
const range::count_type |
n | ) |
|
|
inlinenoexcept |
range
class builder function. Creates a range [n + 1, inf].
- Parameters
-
- Returns
- Built
range
class instance.
Definition at line 144 of file range.hpp.
◆ up_to()
range ap::nargs::up_to |
( |
const range::count_type |
n | ) |
|
|
inlinenoexcept |
range
class builder function. Creates a range [0, n].
- Parameters
-
- Returns
- Built
range
class instance.
Definition at line 162 of file range.hpp.