// (C) Copyright Edward Diener 2019 // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #include "test_has_fun_template.hpp" #include int main() { BOOST_TEST((BOOST_TTI_HAS_FUNCTION_TEMPLATE_GEN(StatFuncTemplate) >::value)); BOOST_TEST((Sftem >::value)); BOOST_TEST((AnFT >::value)); BOOST_TEST((BOOST_TTI_HAS_FUNCTION_TEMPLATE_GEN(AFuncTemplate) >::value)); BOOST_TEST((BOOST_TTI_HAS_FUNCTION_TEMPLATE_GEN(FTHasDef) >::value)); BOOST_TEST((ACFunTem,boost::function_types::const_qualified>::value)); BOOST_TEST((WConstFT,boost::function_types::const_qualified>::value)); BOOST_TEST((BOOST_TTI_HAS_FUNCTION_TEMPLATE_GEN(AVolatileFT),boost::function_types::volatile_qualified>::value)); BOOST_TEST((VTempl,boost::function_types::volatile_qualified>::value)); BOOST_TEST((ACVF,boost::function_types::cv_qualified>::value)); BOOST_TEST((BOOST_TTI_HAS_FUNCTION_TEMPLATE_GEN(ConstVolTTFun),boost::function_types::cv_qualified>::value)); BOOST_TEST((AnotherFT >::value)); BOOST_TEST((BOOST_TTI_HAS_FUNCTION_TEMPLATE_GEN(MyFuncTemplate) >::value)); BOOST_TEST((VWDef,boost::function_types::volatile_qualified>::value)); BOOST_TEST((BOOST_TTI_HAS_FUNCTION_TEMPLATE_GEN(YetAnotherFuncTemplate) >::value)); BOOST_TEST((BOOST_TTI_HAS_FUNCTION_TEMPLATE_GEN(StaticFTWithDefault) >::value)); return boost::report_errors(); }