From 6abc944e570667f92343d637a1656f8b5d425be7 Mon Sep 17 00:00:00 2001 From: Lorenzo Caminiti Date: Sat, 7 Apr 2012 18:45:13 +0000 Subject: [PATCH] Wrapped a metafunction call into a local struct to try to workaround a problem with add_template on the intel compiler. [SVN r77820] --- overloaded_function/test/identity.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/overloaded_function/test/identity.hpp b/overloaded_function/test/identity.hpp index db7905a..a1419f5 100644 --- a/overloaded_function/test/identity.hpp +++ b/overloaded_function/test/identity.hpp @@ -24,7 +24,8 @@ boost::function identity_d = identity_d_impl; // Functor. #include #include #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() -BOOST_TYPEOF_REGISTER_TEMPLATE(boost::function1, 2) // Use `functionN`. +BOOST_TYPEOF_REGISTER_TEMPLATE(boost::function, 1) +BOOST_TYPEOF_REGISTER_TEMPLATE(boost::function1, 2) // Also `functionN`. //] #endif // #include guard