Logo Search packages:      
Sourcecode: ardour version File versions  Download package

template<int I_location, class T_functor>
hide_functor<-1, T_functor > sigc::hide ( const T_functor &  _A_func  )  [inline]

Creates an adaptor of type sigc::hide_functor which adds a dummy parameter to the passed functor. The optional template argument I_location specifies the zero-based position of the dummy parameter in the returned functor (-1 stands for the last parameter).

Parameters:
_A_func Functor that should be wrapped.
Returns:
Adaptor that executes _A_func ignoring the value of the dummy parameter.
Creates an adaptor of type sigc::hide_functor which adds a dummy parameter to the passed functor. This overload adds a dummy parameter at the back of the functor's parameter list.

Parameters:
_A_func Functor that should be wrapped.
Returns:
Adaptor that executes _A_func ignoring the value of the last parameter.

Definition at line 1047 of file hide.h.

  { return hide_functor<I_location, T_functor>(_A_func); }


Generated by  Doxygen 1.6.0   Back to index