mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 14:04:27 +02:00
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:
@@ -24,7 +24,8 @@ boost::function<double (double)> identity_d = identity_d_impl; // Functor.
|
||||
#include <boost/typeof/typeof.hpp>
|
||||
#include <boost/typeof/std/string.hpp>
|
||||
#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
|
||||
|
Reference in New Issue
Block a user