Converts a string token to bool.
More...
#include <action.hh>
Converts a string token to bool.
Accepts "true" / "1" → true and "false" / "0" → false. Returns ErrorCode::invalid_value for any other input.
Definition at line 768 of file action.hh.
◆ after_type
◆ storage_type
◆ operator()()
◆ accepts_input
template<class Input>
| bool cli::conversion::Bool::accepts_input |
|
staticconstexpr |
Initial value: =
std::same_as<std::remove_cvref_t<Input>, std::string_view> ||
std::same_as<std::remove_cvref_t<Input>, std::string>
Definition at line 770 of file action.hh.
The documentation for this struct was generated from the following file: