sigc::hide_functor< 1, T_functor > Struct Template Reference
[hide(), hide_return()]
Adaptor that adds a dummy parameter to the wrapped functor. More...
Inherits adapts< T_functor >.
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 > | |
deduce_result_type< T_arg1, T_arg2 >::type | operator() (T_arg1 _A_a1, T_arg2) |
Invokes the wrapped functor ignoring the 2th argument. | |
template<class T_arg1 , class T_arg2 , class T_arg3 > | |
deduce_result_type< T_arg1, T_arg2, T_arg3 >::type | operator() (T_arg1 _A_a1, T_arg2, T_arg3 _A_a3) |
Invokes the wrapped functor ignoring the 2th argument. | |
template<class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 > | |
deduce_result_type< T_arg1, T_arg2, T_arg3, T_arg4 >::type | operator() (T_arg1 _A_a1, T_arg2, T_arg3 _A_a3, T_arg4 _A_a4) |
Invokes the wrapped functor ignoring the 2th argument. | |
template<class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 > | |
deduce_result_type< T_arg1, T_arg2, T_arg3, T_arg4, T_arg5 > ::type | operator() (T_arg1 _A_a1, T_arg2, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5) |
Invokes the wrapped functor ignoring the 2th argument. | |
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, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5, T_arg6 _A_a6) |
Invokes the wrapped functor ignoring the 2th 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, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5, T_arg6 _A_a6, T_arg7 _A_a7) |
Invokes the wrapped functor ignoring the 2th 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< 1, T_functor >
Adaptor that adds a dummy parameter to the wrapped functor. This template specialization ignores the value of the 1th parameter in operator()().
Constructor& Destructor Documentation
template <class T_functor >
sigc::hide_functor< 1, 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_functor Functor 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 , class T_arg7 >
deduce_result_type<T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>::type sigc::hide_functor< 1, T_functor >::operator() | ( | T_arg1 | _A_a1, | |
T_arg2 | , | |||
T_arg3 | _A_a3, | |||
T_arg4 | _A_a4, | |||
T_arg5 | _A_a5, | |||
T_arg6 | _A_a6, | |||
T_arg7 | _A_a7 | |||
) | [inline] |
Invokes the wrapped functor ignoring the 2th argument.
- Parameters:
-
_A_arg1 Argument to be passed on to the functor. _A_arg2 Argument to be ignored. _A_arg3 Argument to be passed on to the functor. _A_arg4 Argument to be passed on to the functor. _A_arg5 Argument to be passed on to the functor. _A_arg6 Argument to be passed on to the functor. _A_arg7 Argument to be passed on to the functor.
- 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 >
deduce_result_type<T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>::type sigc::hide_functor< 1, T_functor >::operator() | ( | T_arg1 | _A_a1, | |
T_arg2 | , | |||
T_arg3 | _A_a3, | |||
T_arg4 | _A_a4, | |||
T_arg5 | _A_a5, | |||
T_arg6 | _A_a6 | |||
) | [inline] |
Invokes the wrapped functor ignoring the 2th argument.
- Parameters:
-
_A_arg1 Argument to be passed on to the functor. _A_arg2 Argument to be ignored. _A_arg3 Argument to be passed on to the functor. _A_arg4 Argument to be passed on to the functor. _A_arg5 Argument to be passed on to the functor. _A_arg6 Argument to be passed on to the functor.
- 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 >
deduce_result_type<T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>::type sigc::hide_functor< 1, T_functor >::operator() | ( | T_arg1 | _A_a1, | |
T_arg2 | , | |||
T_arg3 | _A_a3, | |||
T_arg4 | _A_a4, | |||
T_arg5 | _A_a5 | |||
) | [inline] |
Invokes the wrapped functor ignoring the 2th argument.
- Parameters:
-
_A_arg1 Argument to be passed on to the functor. _A_arg2 Argument to be ignored. _A_arg3 Argument to be passed on to the functor. _A_arg4 Argument to be passed on to the functor. _A_arg5 Argument to be passed on to the functor.
- 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 >
deduce_result_type<T_arg1,T_arg2,T_arg3,T_arg4>::type sigc::hide_functor< 1, T_functor >::operator() | ( | T_arg1 | _A_a1, | |
T_arg2 | , | |||
T_arg3 | _A_a3, | |||
T_arg4 | _A_a4 | |||
) | [inline] |
Invokes the wrapped functor ignoring the 2th argument.
- Parameters:
-
_A_arg1 Argument to be passed on to the functor. _A_arg2 Argument to be ignored. _A_arg3 Argument to be passed on to the functor. _A_arg4 Argument to be passed on to the functor.
- Returns:
- The return value of the functor invocation.
template <class T_functor >
template <class T_arg1 , class T_arg2 , class T_arg3 >
deduce_result_type<T_arg1,T_arg2,T_arg3>::type sigc::hide_functor< 1, T_functor >::operator() | ( | T_arg1 | _A_a1, | |
T_arg2 | , | |||
T_arg3 | _A_a3 | |||
) | [inline] |
Invokes the wrapped functor ignoring the 2th argument.
- Parameters:
-
_A_arg1 Argument to be passed on to the functor. _A_arg2 Argument to be ignored. _A_arg3 Argument to be passed on to the functor.
- Returns:
- The return value of the functor invocation.
template <class T_functor >
template <class T_arg1 , class T_arg2 >
deduce_result_type<T_arg1,T_arg2>::type sigc::hide_functor< 1, T_functor >::operator() | ( | T_arg1 | _A_a1, | |
T_arg2 | ||||
) | [inline] |
Invokes the wrapped functor ignoring the 2th argument.
- Parameters:
-
_A_arg1 Argument to be passed on to the functor. _A_arg2 Argument to be ignored.
- Returns:
- The return value of the functor invocation.
The documentation for this struct was generated from the following file:
- sigc++/adaptors/hide.h