|
cli20 0.1.2
A C++20 typed-schema command-line parser
|
Sets the bool storage to true. 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 |
Sets the bool storage to true.
Used as the action for Flag.
| using cli::pack::SetTrue::after_type = void |
| using cli::pack::SetTrue::storage_type = bool |
|
inline |
|
staticconstexpr |