libsigc++ 2.2.10
Public Types | Public Member Functions
sigc::hide_functor< 5, T_functor > Struct Template Reference

Adaptor that adds a dummy parameter to the wrapped functor. More...

#include <sigc++/adaptors/hide.h>

Inheritance diagram for sigc::hide_functor< 5, T_functor >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef adapts< T_functor >
::adaptor_type 
adaptor_type
typedef adaptor_type::result_type result_type

Public Member Functions

template<class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 >
deduce_result_type< T_arg1,
T_arg2, T_arg3, T_arg4, T_arg5,
T_arg6 >::type 
operator() (T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5, T_arg6)
 Invokes the wrapped functor, ignoring the 6th argument.
template<class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 >
deduce_result_type< T_arg1,
T_arg2, T_arg3, T_arg4, T_arg5,
T_arg6, T_arg7 >::type 
operator() (T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5, T_arg6, T_arg7 _A_a7)
 Invokes the wrapped functor, ignoring the 6th argument.
 hide_functor (const T_functor& _A_func)
 Constructs a hide_functor object that adds a dummy parameter to the passed functor.

Detailed Description

template<class T_functor>
struct sigc::hide_functor< 5, T_functor >

Adaptor that adds a dummy parameter to the wrapped functor.

This template specialization ignores the value of the 5th parameter in operator()().


Constructor & Destructor Documentation

template <class T_functor >
sigc::hide_functor< 5, T_functor >::hide_functor ( const T_functor &  _A_func) [inline, explicit]

Constructs a hide_functor object that adds a dummy parameter to the passed functor.

Parameters:
_A_functorFunctor to invoke from operator()().

Member Function Documentation

template <class T_functor >
template <class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 >
deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6>::type sigc::hide_functor< 5, T_functor >::operator() ( T_arg1  _A_a1,
T_arg2  _A_a2,
T_arg3  _A_a3,
T_arg4  _A_a4,
T_arg5  _A_a5,
T_arg6   
) [inline]

Invokes the wrapped functor, ignoring the 6th argument.

Parameters:
_A_arg1Argument to be passed on to the functor.
_A_arg2Argument to be passed on to the functor.
_A_arg3Argument to be passed on to the functor.
_A_arg4Argument to be passed on to the functor.
_A_arg5Argument to be passed on to the functor.
_A_arg6Argument to be ignored.
Returns:
The return value of the functor invocation.
template <class T_functor >
template <class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 >
deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7>::type sigc::hide_functor< 5, T_functor >::operator() ( T_arg1  _A_a1,
T_arg2  _A_a2,
T_arg3  _A_a3,
T_arg4  _A_a4,
T_arg5  _A_a5,
T_arg6  ,
T_arg7  _A_a7 
) [inline]

Invokes the wrapped functor, ignoring the 6th argument.

Parameters:
_A_arg1Argument to be passed on to the functor.
_A_arg2Argument to be passed on to the functor.
_A_arg3Argument to be passed on to the functor.
_A_arg4Argument to be passed on to the functor.
_A_arg5Argument to be passed on to the functor.
_A_arg6Argument to be ignored.
_A_arg7Argument to be passed on to the functor.
Returns:
The return value of the functor invocation.