|
cli20 0.1.2
A C++20 typed-schema command-line parser
|
Increments a std::size_t counter each time the option is seen. More...
#include <action.hh>
Public Types | |
| template<class Prev> | |
| using | after_type = void |
| template<class Prev> | |
| using | storage_type = std::size_t |
Public Member Functions | |
| template<class T> | |
| auto | operator() (ActionCtx< std::size_t > ctx, ActionResult< T > input) const -> ActionResult< void > |
Static Public Attributes | |
| template<class Prev> | |
| static constexpr bool | accepts_input = true |
Increments a std::size_t counter each time the option is seen.
| using cli::pack::Increment::after_type = void |
| using cli::pack::Increment::storage_type = std::size_t |
|
inline |
|
staticconstexpr |