|
Sharg 1.2.0-rc.2
The argument parser for bio-c++ tools.
|
Validator that always returns true. More...
#include <sharg/validators.hpp>
Inheritance diagram for sharg::detail::default_validator: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.