STAPL API Reference |
Modules Classes |
Function objects implement logic operations. Defined in stapl/algorithms/functional.hpp. More...
Classes | |
struct | stapl::logical_and< T > |
Function which returns the logical and of its arguments. More... | |
struct | stapl::logical_not< T > |
Function which returns the logical not of its argument. More... | |
struct | stapl::detail::unary_negate_helper< Predicate, bool > |
Base class for unary_negate the reflects the type argument_type if defined in the template. More... | |
struct | stapl::detail::binary_negate_helper< Predicate, bool > |
Base class for binary_negate the reflects the type first_argument_type and second_argument_type if they are defined in the template. It's assumed that the two argument type parameters either both exist or both do not, so we only check for first_argument_type. More... | |
struct | stapl::unary_negate< Predicate > |
Function which returns whether its argument was not matched by the given predicate. More... | |
struct | stapl::binary_negate< Predicate > |
Function which returns whether its arguments were not matched by the given predicate. More... | |
struct | stapl::identity< T > |
Function which returns its argument. More... | |
struct | stapl::identity_op |
Function which returns its argument. More... | |
Functions | |
stapl::STAPL_DEFINE_IDENTITY_VALUE (logical_and< long unsigned int >, long unsigned int, 1) template< typename T > struct logical_or | |
Function which returns the logical or of its arguments. More... | |
template<typename Predicate > | |
unary_negate< Predicate > | stapl::not1 (Predicate const &pred) |
Construct a unary_negate functor with the given predicate. More... | |
template<typename Predicate > | |
binary_negate< Predicate > | stapl::not2 (Predicate const &pred) |
Construct a binary_negate functor with the given predicate. More... | |
Function objects implement logic operations. Defined in stapl/algorithms/functional.hpp.
stapl::STAPL_DEFINE_IDENTITY_VALUE | ( | logical_and< long unsigned int > | , |
long unsigned | int, | ||
1 | |||
) |
Function which returns the logical or of its arguments.
T | Type of the arguments. |
unary_negate<Predicate> stapl::not1 | ( | Predicate const & | pred | ) |
Construct a unary_negate functor with the given predicate.
pred | The predicate used to construct the functor. |
binary_negate<Predicate> stapl::not2 | ( | Predicate const & | pred | ) |
Construct a binary_negate functor with the given predicate.
pred | The predicate used to construct the functor. |