43#ifndef _RWSTD_RW_FUNCBASE_H_INCLUDED
44#define _RWSTD_RW_FUNCBASE_H_INCLUDED
46#ifndef _RWSTD_RW_DEFS_H_INCLUDED
55template <
class _Arg,
class _Result>
58 typedef _Arg argument_type;
59 typedef _Result result_type;
63#define _RWSTD_UNARY_FUNCTION_TYPES(T, U) \
64 typedef typename _STD::unary_function<T, U>::argument_type argument_type; \
65 typedef typename _STD::unary_function<T, U>::result_type result_type
68template <
class _Arg1,
class _Arg2,
class _Result>
71 typedef _Arg1 first_argument_type;
72 typedef _Arg2 second_argument_type;
73 typedef _Result result_type;
77#define _RWSTD_BINARY_FUNCTION_TYPES(T, U, V) \
78 typedef typename _STD::binary_function<T, U, V>::second_argument_type \
79 second_argument_type; \
80 typedef typename _STD::binary_function<T, U, V>::first_argument_type \
81 first_argument_type; \
82 typedef typename _STD::binary_function<T, U, V>::result_type \
87template <
class _TypeT>
88struct less: binary_function<_TypeT, _TypeT, bool>
92 result_type operator() (
const first_argument_type &__x,
93 const second_argument_type &__y)
const {
#define _RWSTD_NAMESPACE(name)
#define _RWSTD_BINARY_FUNCTION_TYPES(T, U, V)