sigx++  2.0.1
sigx::internal::dispatchable_constraint< T_functor, I_isadapter > Struct Template Reference

Used to find a dispatchable out of the functor/adaptor chain, i.e. the dispatchable object of a mem_functor or the shared_dispatchable stored by dispatch_with(). More...

#include <internal_types.h>

Detailed Description

template<typename T_functor, bool I_isadapter = sigc::is_base_and_derived<sigc::adaptor_base, T_functor>::value>
struct sigx::internal::dispatchable_constraint< T_functor, I_isadapter >

Used to find a dispatchable out of the functor/adaptor chain, i.e. the dispatchable object of a mem_functor or the shared_dispatchable stored by dispatch_with().

It additionally checks at compile time that T_functor is really a functor on a dispatchable's method by accessing the member variable obj_ of mem_functors and converting the object to a sigx::dispatchable; hence, the compiler will issue error messages if it is not a mem_functor or the object is not convertible to a sigx::dispatchable


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