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