|
cli20 0.1.2
A C++20 typed-schema command-line parser
|
Flips the bool storage 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 = bool |
Public Member Functions | |
| template<class T> | |
| auto | operator() (ActionCtx< bool > ctx, ActionResult< T > input) const -> ActionResult< void > |
Static Public Attributes | |
| template<class Prev> | |
| static constexpr bool | accepts_input = true |
| using cli::pack::Toggle::after_type = void |
| using cli::pack::Toggle::storage_type = bool |
|
inline |
|
staticconstexpr |