|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Standard functor implementations and comparison objects. More...
#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
| namespace | Aleph::function_detail |
Concepts | |
| concept | Aleph::function_detail::nothrow_less_than |
| Whether x < y compiles and cannot throw, nor the conversion of its result to bool, which less<T> makes. | |
| concept | Aleph::function_detail::nothrow_plus |
| Whether T(x + y) compiles and cannot throw, for plus. | |
| concept | Aleph::function_detail::nothrow_minus |
| Whether T(x - y) compiles and cannot throw, for minus. | |
| concept | Aleph::function_detail::nothrow_multiplies |
| Whether T(x * y) compiles and cannot throw, for multiplies. | |
| concept | Aleph::function_detail::nothrow_divides |
| Whether T(x / y) compiles and cannot throw, for divides. | |
| concept | Aleph::function_detail::nothrow_modulus |
| Whether T(x % y) compiles and cannot throw, for modulus. | |
| concept | Aleph::function_detail::nothrow_negate |
| Whether T(-x) compiles and cannot throw, for negate. | |
| concept | Aleph::function_detail::nothrow_equal_to |
| Whether x == y compiles and cannot throw, for equal_to. | |
| concept | Aleph::function_detail::nothrow_not_equal_to |
| Whether x != y compiles and cannot throw, for not_equal_to. | |
| concept | Aleph::function_detail::nothrow_greater |
| Whether x > y compiles and cannot throw, for greater. | |
| concept | Aleph::function_detail::nothrow_greater_equal |
| Whether x >= y compiles and cannot throw, for greater_equal. | |
| concept | Aleph::function_detail::nothrow_less_equal |
| Whether x <= y compiles and cannot throw, for less_equal. | |
| concept | Aleph::function_detail::nothrow_logical_and |
| Whether x and y compiles and cannot throw, for logical_and. | |
| concept | Aleph::function_detail::nothrow_logical_or |
| Whether x or y compiles and cannot throw, for logical_or. | |
| concept | Aleph::function_detail::nothrow_logical_not |
| Whether not x compiles and cannot throw, for logical_not. | |
Functions | |
| template<class _Predicate > | |
| unary_negate< _Predicate > | Aleph::not1 (const _Predicate &__pred) |
| template<class _Predicate > | |
| binary_negate< _Predicate > | Aleph::not2 (const _Predicate &__pred) |
| template<class _Operation , class _Tp > | |
| binder1st< _Operation > | Aleph::bind1st (const _Operation &__fn, const _Tp &__x) |
| template<class _Operation , class _Tp > | |
| binder2nd< _Operation > | Aleph::bind2nd (const _Operation &__fn, const _Tp &__x) |
| template<class _Arg , class _Result > | |
| pointer_to_unary_function< _Arg, _Result > | Aleph::ptr_fun (_Result(*__x)(_Arg)) |
| template<class _Arg1 , class _Arg2 , class _Result > | |
| pointer_to_binary_function< _Arg1, _Arg2, _Result > | Aleph::ptr_fun (_Result(*__x)(_Arg1, _Arg2)) |
| template<class _Ret , class _Tp > | |
| mem_fun_t< _Ret, _Tp > | Aleph::mem_fun (_Ret(_Tp::*__f)()) |
| template<class _Ret , class _Tp > | |
| const_mem_fun_t< _Ret, _Tp > | Aleph::mem_fun (_Ret(_Tp::*__f)() const) |
| template<class _Ret , class _Tp > | |
| mem_fun_ref_t< _Ret, _Tp > | Aleph::mem_fun_ref (_Ret(_Tp::*__f)()) |
| template<class _Ret , class _Tp > | |
| const_mem_fun_ref_t< _Ret, _Tp > | Aleph::mem_fun_ref (_Ret(_Tp::*__f)() const) |
| template<class _Ret , class _Tp , class _Arg > | |
| mem_fun1_t< _Ret, _Tp, _Arg > | Aleph::mem_fun (_Ret(_Tp::*__f)(_Arg)) |
| template<class _Ret , class _Tp , class _Arg > | |
| const_mem_fun1_t< _Ret, _Tp, _Arg > | Aleph::mem_fun (_Ret(_Tp::*__f)(_Arg) const) |
| template<class _Ret , class _Tp , class _Arg > | |
| mem_fun1_ref_t< _Ret, _Tp, _Arg > | Aleph::mem_fun_ref (_Ret(_Tp::*__f)(_Arg)) |
| template<class _Ret , class _Tp , class _Arg > | |
| const_mem_fun1_ref_t< _Ret, _Tp, _Arg > | Aleph::mem_fun_ref (_Ret(_Tp::*__f)(_Arg) const) |
| template<class T , class Compare > | |
| bool | Aleph::less_than (const T &op1, const T &op2, Compare &cmp) |
| Determines if op1 is less than op2 using a comparison operator. | |
| template<class T , class Compare > | |
| bool | Aleph::less_than (const T &op1, const T &op2, Compare &&cmp=Compare()) |
See less_than(). | |
| template<class T , class Compare > | |
| bool | Aleph::less_or_equal_than (const T &op1, const T &op2, Compare &cmp) |
| Determines if op1 is less than or equal to op2 using a comparison operator. | |
| template<class T , class Compare > | |
| bool | Aleph::less_or_equal_than (const T &op1, const T &op2, Compare &&cmp=Compare()) |
See less_or_equal_than(). | |
| template<class T , class Compare > | |
| bool | Aleph::greater_than (const T &op1, const T &op2, Compare &&cmp=Compare()) |
| Determines if op1 is greater than op2 using a comparison operator. | |
| template<class T , class Compare > | |
| bool | Aleph::greater_than (const T &op1, const T &op2, Compare &cmp) |
See greater_than(). | |
| template<class T , class Compare > | |
| bool | Aleph::greater_or_equal_than (const T &op1, const T &op2, Compare &&cmp=Compare()) |
| Determines if op1 is greater than or equal to op2 using a comparison operator. | |
| template<class T , class Compare > | |
| bool | Aleph::greater_or_equal_than (const T &op1, const T &op2, Compare &cmp) |
See greater_or_equal_than(). | |
| template<class T , class Compare > | |
| bool | Aleph::no_equals (const T &op1, const T &op2, Compare &&cmp=Compare()) |
| Determines if operands are not equal using a comparison operator. | |
| template<class T , class Compare > | |
| bool | Aleph::no_equals (const T &op1, const T &op2, Compare &cmp) |
See no_equals(). | |
| template<class T , class Compare > | |
| bool | Aleph::are_equals (const T &op1, const T &op2, Compare &&cmp=Compare()) |
| Determines if operands are equal using a comparison operator. | |
| template<class T , class Compare > | |
| bool | Aleph::are_equals (const T &op1, const T &op2, Compare &cmp) |
See are_equals(). | |
Standard functor implementations and comparison objects.
This file provides STL-compatible function objects for common operations including arithmetic operations, comparisons, logical operations, and hash functions. These functors are used throughout Aleph-w for generic algorithm implementations.
Definition in file ahFunction.H.