Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
ahFunction.H File Reference

Standard functor implementations and comparison objects. More...

#include <utility>
Include dependency graph for ahFunction.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Aleph::unary_function< _Arg, _Result >
 
struct  Aleph::binary_function< _Arg1, _Arg2, _Result >
 
struct  Aleph::plus< _Tp >
 
struct  Aleph::minus< _Tp >
 
struct  Aleph::multiplies< _Tp >
 
struct  Aleph::divides< _Tp >
 
struct  Aleph::modulus< _Tp >
 
struct  Aleph::negate< _Tp >
 
struct  Aleph::equal_to< _Tp >
 
struct  Aleph::not_equal_to< _Tp >
 
struct  Aleph::greater< _Tp >
 
struct  Aleph::less< _Tp >
 
struct  Aleph::greater_equal< _Tp >
 
struct  Aleph::less_equal< _Tp >
 
struct  Aleph::logical_and< _Tp >
 
struct  Aleph::logical_or< _Tp >
 
struct  Aleph::logical_not< _Tp >
 
class  Aleph::unary_negate< _Predicate >
 
class  Aleph::binary_negate< _Predicate >
 
class  Aleph::binder1st< _Operation >
 
class  Aleph::binder2nd< _Operation >
 
class  Aleph::pointer_to_unary_function< _Arg, _Result >
 
class  Aleph::pointer_to_binary_function< _Arg1, _Arg2, _Result >
 
struct  Aleph::_Identity< _Tp >
 
struct  Aleph::_Select1st< _Pair >
 
struct  Aleph::_Select2nd< _Pair >
 
class  Aleph::mem_fun_t< _Ret, _Tp >
 
class  Aleph::const_mem_fun_t< _Ret, _Tp >
 
class  Aleph::mem_fun_ref_t< _Ret, _Tp >
 
class  Aleph::const_mem_fun_ref_t< _Ret, _Tp >
 
class  Aleph::mem_fun1_t< _Ret, _Tp, _Arg >
 
class  Aleph::const_mem_fun1_t< _Ret, _Tp, _Arg >
 
class  Aleph::mem_fun1_ref_t< _Ret, _Tp, _Arg >
 
class  Aleph::const_mem_fun1_ref_t< _Ret, _Tp, _Arg >
 
class  Aleph::mem_fun_t< void, _Tp >
 
class  Aleph::const_mem_fun_t< void, _Tp >
 
class  Aleph::mem_fun_ref_t< void, _Tp >
 
class  Aleph::const_mem_fun_ref_t< void, _Tp >
 
class  Aleph::mem_fun1_t< void, _Tp, _Arg >
 
class  Aleph::const_mem_fun1_t< void, _Tp, _Arg >
 
class  Aleph::mem_fun1_ref_t< void, _Tp, _Arg >
 
class  Aleph::const_mem_fun1_ref_t< void, _Tp, _Arg >
 
class  Aleph::Inversed_Compare< T, Compare >
 Performs order reversal of Compare by swapping operands. More...
 
struct  Aleph::Compare_Dup< T, Compare >
 

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().
 

Detailed Description

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.

Author
Leandro Rabindranath León

Definition in file ahFunction.H.