typed_value<bool>* bool_switch()
typed_value<bool>* bool_switch()Description
Works the same way as the 'value <bool >' function, but the created value_semantic won't accept any explicit value. So, if the option is present on the command line, the value will be 'true'.
Declared at: libs/pika/program_options/include/pika/program_options/value_semantic.hpp:428