#include "TestMFHasStaticFunction.hpp" #include int main() { // You can always instantiate without compiler errors tti::mf_has_static_function < tti::HaveTheSIntFunction, boost::mpl::identity, boost::mpl::identity, boost::mpl::identity, boost::mpl::identity > aVar; tti::mf_has_static_function < tti::Pickedname, boost::mpl::identity, boost::mpl::identity, boost::mpl::identity > aVar2; // Compile time asserts BOOST_MPL_ASSERT((tti::mf_has_static_function < tti::HaveTheSIntFunction, boost::mpl::identity, boost::mpl::identity, boost::mpl::identity, boost::mpl::identity > )); BOOST_MPL_ASSERT((tti::mf_has_static_function < tti::TheTIntFunction, boost::mpl::identity, boost::mpl::identity, boost::mpl::identity, boost::mpl::identity > )); BOOST_MPL_ASSERT((tti::mf_has_static_function < tti::has_static_member_TSFunction, boost::mpl::identity, tti::member_type_AStructType, tti::NameIntType, boost::mpl::identity > )); return 0; }