rutz::bound_first< base_functor, bound_t > Class Template Reference

bound_first wraps another functor type with a fixed first argument. More...

#include <rutz/functors.h>

Inheritance diagram for rutz::bound_first< base_functor, bound_t >:

Inheritance graph
[legend]
Collaboration diagram for rutz::bound_first< base_functor, bound_t >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef func_traits
< bound_first< base_functor,
bound_t > > 
traits
typedef traits::retn_t retn_t
typedef traits::arg1_t arg1_t
typedef traits::arg2_t arg2_t
typedef traits::arg3_t arg3_t
typedef traits::arg4_t arg4_t
typedef traits::arg5_t arg5_t
typedef traits::arg6_t arg6_t
typedef traits::arg7_t arg7_t
typedef traits::arg8_t arg8_t
enum  { num_args = (func_traits<base_functor>::num_args-1) }

Public Member Functions

 bound_first (base_functor base, bound_t bound)
 bound_first (const bound_first &other)
retn_t operator() ()
retn_t operator() (arg1_t p1)
retn_t operator() (arg1_t p1, arg2_t p2)
retn_t operator() (arg1_t p1, arg2_t p2, arg3_t p3)
retn_t operator() (arg1_t p1, arg2_t p2, arg3_t p3, arg4_t p4)
retn_t operator() (arg1_t p1, arg2_t p2, arg3_t p3, arg4_t p4, arg5_t p5)
retn_t operator() (arg1_t p1, arg2_t p2, arg3_t p3, arg4_t p4, arg5_t p5, arg6_t p6)
retn_t operator() (arg1_t p1, arg2_t p2, arg3_t p3, arg4_t p4, arg5_t p5, arg6_t p6, arg7_t p7)


Detailed Description

template<class base_functor, class bound_t>
class rutz::bound_first< base_functor, bound_t >

bound_first wraps another functor type with a fixed first argument.

bound_first's can be constructed with the factory function bind_first().

Definition at line 554 of file functors.h.


The documentation for this class was generated from the following file:

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:41 2008 by Doxygen version 1.5.5.