libsigc++: sigc::adaptor_trait< T_functor, I_isadaptor > Struct Template Reference

Trait that specifies what is the adaptor version of a functor type. More...

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

Detailed Description

template<typename T_functor, bool I_isadaptor = std::is_base_of<adaptor_base, T_functor>::value>

struct sigc::adaptor_trait< T_functor, I_isadaptor >

Trait that specifies what is the adaptor version of a functor type.

Template specializations exist for sigc::adaptor_base-derived functors, for function pointers and for class methods.

The template argument T_functor is the functor type to convert. I_isadaptor indicates whether T_functor inherits from sigc::adaptor_base.