#include <tclap/Constraint.h>
#include <concepts>
#include <functional>
#include <type_traits>
#include <utility>
#include <stdexcept>
#include <string>
Go to the source code of this file.
|
| template<class Function > |
| void | TCLAP::internal::ValidateConstraintPredicate (const Function &function) |
| |
template<class T , class Function >
requires std::predicate<const std::decay_t<Function> &, const T &> |
| auto | TCLAP::MakeConstraint (std::string description, std::string shortId, Function &&function) |
| | Creates an owning constraint with fixed presentation text.
|
| |
template<class T , class Rule >
requires std::predicate<const std::decay_t<Rule> &, const T &> && requires(const std::decay_t<Rule> &rule) { { rule.description() } -> std::convertible_to<std::string>; { rule.shortID() } -> std::convertible_to<std::string>; } |
| auto | TCLAP::MakeRuleConstraint (Rule &&rule) |
| | Creates an owning rule constraint.
|
| |