|
cli20 0.1.2
A C++20 typed-schema command-line parser
|
Sets a bool flag to true when the option is seen, regardless of value. 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 a bool flag to true when the option is seen, regardless of value.
Storage type: bool. Useful for detecting option presence without caring about the value of the option.
| using cli::pack::MarkPresent::after_type = void |
| using cli::pack::MarkPresent::storage_type = bool |
|
inline |
|
staticconstexpr |