Wrapped a metafunction call into a local struct to try to workaround a problem with add_template on the intel compiler.

[SVN r77820]
This commit is contained in:
Lorenzo Caminiti
2012-04-07 18:45:13 +00:00
parent afa123f28e
commit 6abc944e57

View File

@@ -24,7 +24,8 @@ boost::function<double (double)> identity_d = identity_d_impl; // Functor.
#include <boost/typeof/typeof.hpp> #include <boost/typeof/typeof.hpp>
#include <boost/typeof/std/string.hpp> #include <boost/typeof/std/string.hpp>
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() #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 #endif // #include guard