/home/ntakagi/work/STLport-5.1.5/stlport/stl/_function.h File Reference#include <stl/type_traits.h>
#include <stl/_function_base.h>
#include <stl/_function_adaptors.h>
Go to the source code of this file.
|
Classes |
struct | not_equal_to< _Tp > |
struct | greater< _Tp > |
struct | greater_equal< _Tp > |
struct | less_equal< _Tp > |
struct | divides< _Tp > |
struct | modulus< _Tp > |
struct | negate< _Tp > |
struct | logical_and< _Tp > |
struct | logical_or< _Tp > |
struct | logical_not< _Tp > |
class | unary_negate< _Predicate > |
class | binary_negate< _Predicate > |
class | binder1st< _Operation > |
class | binder2nd< _Operation > |
class | unary_compose< _Operation1, _Operation2 > |
class | binary_compose< _Operation1, _Operation2, _Operation3 > |
struct | identity< _Tp > |
struct | select1st< _Pair > |
struct | select2nd< _Pair > |
struct | project1st< _Arg1, _Arg2 > |
struct | project2nd< _Arg1, _Arg2 > |
struct | _Constant_void_fun< _Result > |
struct | constant_void_fun< _Result > |
struct | constant_unary_fun< _Result, > |
struct | constant_binary_fun< _Result,, > |
class | subtractive_rng |
Defines |
#define | __UNARY_ARG(__Operation, __type) __Operation::__type |
#define | __BINARY_ARG(__Operation, __type) __Operation::__type |
#define | __PAIR_ARG(__Pair, __type) __Pair::__type |
Functions |
template<class _Tp> |
_Tp | identity_element (plus< _Tp >) |
template<class _Tp> |
_Tp | identity_element (multiplies< _Tp >) |
template<class _Predicate> |
unary_negate< _Predicate > | not1 (const _Predicate &__pred) |
template<class _Predicate> |
binary_negate< _Predicate > | not2 (const _Predicate &__pred) |
template<class _Operation, class _Tp> |
binder1st< _Operation > | bind1st (const _Operation &__fn, const _Tp &__x) |
template<class _Operation, class _Tp> |
binder2nd< _Operation > | bind2nd (const _Operation &__fn, const _Tp &__x) |
template<class _Operation1, class _Operation2> |
unary_compose< _Operation1,
_Operation2 > | compose1 (const _Operation1 &__fn1, const _Operation2 &__fn2) |
template<class _Operation1, class _Operation2, class _Operation3> |
binary_compose< _Operation1,
_Operation2, _Operation3 > | compose2 (const _Operation1 &__fn1, const _Operation2 &__fn2, const _Operation3 &__fn3) |
template<class _Result> |
constant_void_fun< _Result > | constant0 (const _Result &__val) |
template<class _Result> |
constant_unary_fun< _Result,
_Result > | constant1 (const _Result &__val) |
template<class _Result> |
constant_binary_fun< _Result,
_Result, _Result > | constant2 (const _Result &__val) |
Define Documentation
#define __BINARY_ARG |
( |
__Operation, |
|
|
__type |
|
) |
__Operation::__type |
#define __PAIR_ARG |
( |
__Pair, |
|
|
__type |
|
) |
__Pair::__type |
#define __UNARY_ARG |
( |
__Operation, |
|
|
__type |
|
) |
__Operation::__type |
Function Documentation
template<class _Operation, class _Tp>
binder1st<_Operation> bind1st |
( |
const _Operation & |
__fn, |
|
|
const _Tp & |
__x | |
|
) |
| | [inline] |
template<class _Operation, class _Tp>
binder2nd<_Operation> bind2nd |
( |
const _Operation & |
__fn, |
|
|
const _Tp & |
__x | |
|
) |
| | [inline] |
template<class _Operation1, class _Operation2>
unary_compose<_Operation1,_Operation2> compose1 |
( |
const _Operation1 & |
__fn1, |
|
|
const _Operation2 & |
__fn2 | |
|
) |
| | [inline] |
template<class _Operation1, class _Operation2, class _Operation3>
binary_compose<_Operation1, _Operation2, _Operation3> compose2 |
( |
const _Operation1 & |
__fn1, |
|
|
const _Operation2 & |
__fn2, |
|
|
const _Operation3 & |
__fn3 | |
|
) |
| | [inline] |
template<class _Tp>
_Tp identity_element |
( |
multiplies< _Tp > |
|
) |
[inline] |
template<class _Tp>
_Tp identity_element |
( |
plus< _Tp > |
|
) |
[inline] |
template<class _Predicate>
unary_negate<_Predicate> not1 |
( |
const _Predicate & |
__pred |
) |
[inline] |
template<class _Predicate>
binary_negate<_Predicate> not2 |
( |
const _Predicate & |
__pred |
) |
[inline] |
Generated on Mon Mar 10 15:32:49 2008 by
1.5.1
|