Fixing LocalFunction to work in type-of emulation mode.

[SVN r77755]
This commit is contained in:
Lorenzo Caminiti
2012-04-04 15:35:30 +00:00
parent 337638616a
commit 3b8fe255c4
6 changed files with 43 additions and 7 deletions

View File

@@ -11,6 +11,11 @@
#else
#include <boost/local_function.hpp>
#include <boost/typeof/typeof.hpp>
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
struct s;
BOOST_TYPEOF_REGISTER_TYPE(s) // Register before binding `this_` below.
// Compile all local function declaration combinations.
struct s {