Simple-Utility v2.3.1
Loading...
Searching...
No Matches
Predicate.hpp
Go to the documentation of this file.
1// Copyright Dominic Koepke 2019 - 2023.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at
4// https://www.boost.org/LICENSE_1_0.txt)
5
6#ifndef SL_UTILITY_FUNCTIONAL_PREDICATE_HPP
7#define SL_UTILITY_FUNCTIONAL_PREDICATE_HPP
8
9#pragma once
10
18
19namespace sl::functional
20{
40 template <function Fn>
42 Fn,
49
53}
54
55#endif
The core class, wrapping one functional object and enabling a variety of composing operators for it.
Definition: BasicClosure.hpp:112
Definition: Conjunction.hpp:41
Definition: Disjunction.hpp:41
Definition: Equality.hpp:49
Definition: Negation.hpp:21
Definition: Pipe.hpp:63
detail::NodiscardInvokePolicy< Derived, detail::PredicateStrategy > PredicateInvokePolicy
CRTP type, enabling all four operator () overloads for derived classes, which are all marked with the...
Definition: InvokePolicies.hpp:197
Definition: Arithmetic.hpp:13