#include "test_has_member_function.hpp" #include int main() { // You can always instantiate without compiler errors boost::tti::has_member_function_someFunctionMember > aVar3; // Compile time asserts BOOST_MPL_ASSERT((boost::tti::has_member_function_VoidFunction)); BOOST_MPL_ASSERT((boost::tti::FunctionReturningInt)); BOOST_MPL_ASSERT((boost::tti::FunctionReturningInt >)); BOOST_MPL_ASSERT((boost::tti::has_member_function_aFunction >)); BOOST_MPL_ASSERT((boost::tti::AnotherIntFunction >)); BOOST_MPL_ASSERT((boost::tti::has_member_function_sFunction >)); return 0; }