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