libsigc++
2.99.2
|
Adaptor that adds a dummy parameter to the wrapped functor. More...
#include <sigc++/adaptors/hide.h>
Public Types | |
using | adaptor_type = typename adapts< T_functor >::adaptor_type |
using | result_type = typename adaptor_type::result_type |
![]() | |
using | adaptor_type = typename adaptor_trait< T_functor >::adaptor_type |
using | result_type = typename adaptor_trait< T_functor >::result_type |
Public Member Functions | |
hide_functor (const T_functor& _A_func) | |
Constructs a hide_functor object that adds a dummy parameter to the passed functor. More... | |
template<class... T_arg> | |
decltype(auto) | operator() (T_arg&&..._A_a) |
Invokes the wrapped functor, ignoring the argument at index I_location (0-indexed). More... | |
![]() | |
adapts (const T_functor& _A_functor) | |
Constructs an adaptor that wraps the passed functor. More... | |
Additional Inherited Members | |
![]() | |
adaptor_type | functor_ |
Adaptor that is invoked from operator()(). More... | |
Adaptor that adds a dummy parameter to the wrapped functor.
Use the convenience function sigc::hide() to create an instance of sigc::hide_functor.
The following template arguments are used:
-1
for the last parameter).using sigc::hide_functor< I_location, T_functor >::adaptor_type = typename adapts<T_functor>::adaptor_type |
using sigc::hide_functor< I_location, T_functor >::result_type = typename adaptor_type::result_type |
|
inlineexplicit |
Constructs a hide_functor object that adds a dummy parameter to the passed functor.
_A_func | Functor to invoke from operator()(). |
|
inline |
Invokes the wrapped functor, ignoring the argument at index I_location (0-indexed).
_A_a | Arguments to be passed on to the functor, apart from the ignored argument. |