5 May
2014
5 May
'14
5:20 p.m.
Boost TTI has very convenient macros for checking if a type has a member function. See http://www.boost.org/doc/libs/1_55_0/libs/tti/doc/html/the_type_traits_intro... If I have not missing something BOOST_TTI_HAS_MEMBER_FUNCTION returns false for inherited member functions. Is there a convenient Boost solution for doing this? There is a SOhttp://stackoverflow.com/questions/1966362/sfinae-to-check-for-inherited-mem... solution based on SFINAE. But I would like to avoid that and would prefer a Boost solution, since that way I am more sure it works on more compilers and I want avoid maintaining code for each such specific behavior.