|
cli20 0.1.2
A C++20 typed-schema command-line parser
|
Validates that the input value is less than or equal to MaxValue. More...
#include <action.hh>
Public Types | |
| template<class Prev> | |
| using | after_type = Prev |
| template<class Prev> | |
| using | storage_type = void |
Public Member Functions | |
| template<class U> | |
| auto | operator() (ActionCtx< void > ctx, ActionResult< U > input) const -> ActionResult< U > |
Static Public Attributes | |
| template<class Prev> | |
| static constexpr bool | accepts_input |
Validates that the input value is less than or equal to MaxValue.
| MaxValue | The inclusive upper bound (non-type template parameter). |
| using cli::validation::Max< MaxValue >::after_type = Prev |
| using cli::validation::Max< MaxValue >::storage_type = void |
|
inline |
|
staticconstexpr |