Aleph-w 3.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.
 

Functions

template<class _Predicate >
unary_negate< _PredicateAleph::not1 (const _Predicate &__pred)
 
template<class _Predicate >
binary_negate< _PredicateAleph::not2 (const _Predicate &__pred)
 
template<class _Operation , class _Tp >
binder1st< _OperationAleph::bind1st (const _Operation &__fn, const _Tp &__x)
 
template<class _Operation , class _Tp >
binder2nd< _OperationAleph::bind2nd (const _Operation &__fn, const _Tp &__x)
 
template<class _Arg , class _Result >
pointer_to_unary_function< _Arg, _ResultAleph::ptr_fun (_Result(*__x)(_Arg))
 
template<class _Arg1 , class _Arg2 , class _Result >
pointer_to_binary_function< _Arg1, _Arg2, _ResultAleph::ptr_fun (_Result(*__x)(_Arg1, _Arg2))
 
template<class _Ret , class _Tp >
mem_fun_t< _Ret, _TpAleph::mem_fun (_Ret(_Tp::*__f)())
 
template<class _Ret , class _Tp >
const_mem_fun_t< _Ret, _TpAleph::mem_fun (_Ret(_Tp::*__f)() const)
 
template<class _Ret , class _Tp >
mem_fun_ref_t< _Ret, _TpAleph::mem_fun_ref (_Ret(_Tp::*__f)())
 
template<class _Ret , class _Tp >
const_mem_fun_ref_t< _Ret, _TpAleph::mem_fun_ref (_Ret(_Tp::*__f)() const)
 
template<class _Ret , class _Tp , class _Arg >
mem_fun1_t< _Ret, _Tp, _ArgAleph::mem_fun (_Ret(_Tp::*__f)(_Arg))
 
template<class _Ret , class _Tp , class _Arg >
const_mem_fun1_t< _Ret, _Tp, _ArgAleph::mem_fun (_Ret(_Tp::*__f)(_Arg) const)
 
template<class _Ret , class _Tp , class _Arg >
mem_fun1_ref_t< _Ret, _Tp, _ArgAleph::mem_fun_ref (_Ret(_Tp::*__f)(_Arg))
 
template<class _Ret , class _Tp , class _Arg >
const_mem_fun1_ref_t< _Ret, _Tp, _ArgAleph::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())
 
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())
 
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)
 
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)
 
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)
 
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)
 

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.