37#ifndef Foam_predicates_H
38#define Foam_predicates_H
67 template<
class T1,
class T2>
68 constexpr bool operator()(
const T1&,
const T2&)
const noexcept
75 constexpr bool match(
const std::string&,
bool literal=
false) const
noexcept
99 template<
class T1,
class T2>
100 constexpr bool operator()(
const T1&,
const T2&)
const noexcept
Unary and binary predicates that always return true, useful for templating.
constexpr bool operator()(const T1 &, const T2 &) const noexcept
Binary predicate.
constexpr bool match(const std::string &, bool literal=false) const noexcept
String match.
constexpr bool operator()(const T &) const noexcept
Unary predicate.
Unary and binary predicates that never return true, useful for templating.
constexpr bool operator()(const T1 &, const T2 &) const noexcept
Binary predicate.
constexpr bool match(const std::string &, bool literal=false) const noexcept
String match.
constexpr bool operator()(const T &) const noexcept
Unary predicate.