Sharg 1.1.2-rc.1
The argument parser for bio-c++ tools.
|
Validator that always returns true. More...
#include <sharg/validators.hpp>
Public Types | |
using | option_value_type = std::any |
Dummy type needed to model sharg::validator but any type is accepted in the operator() . | |
Public Member Functions | |
template<typename option_value_t > | |
void | operator() (option_value_t const &) const noexcept |
Value cmp always passes validation for any type and never throws. | |
std::string | get_help_page_message () const |
Since no validation is happening the help message is empty. | |
Validator that always returns true.
The default validator is needed to make the validator parameter of parser::add_option and parser::add_option optional.