|
| constexpr Nargs | none {.min = 0, .max = 0} |
| | Accepts no values; used for boolean flags.
|
| constexpr Nargs | one {.min = 1, .max = 1} |
| | Accepts exactly one value.
|
| constexpr Nargs | zero_or_one {.min = 0, .max = 1} |
| | Accepts zero or one value.
|
| constexpr Nargs | zero_or_more {.min = 0, .max = -1} |
| | Accepts zero or more values.
|
| constexpr Nargs | one_or_more {.min = 1, .max = -1} |
| | Accepts one or more values.
|
| template<int N> |
| constexpr Nargs | exactly {.min = N, .max = N} |
| template<int Min, int Max> |
| constexpr Nargs | between {.min = Min, .max = Max} |