mirror of
https://github.com/boostorg/local_function.git
synced 2026-01-24 18:02:22 +00:00
Fixing LocalFunction to work in type-of emulation mode.
[SVN r77755]
This commit is contained in:
@@ -6,6 +6,11 @@
|
||||
// Home at http://www.boost.org/libs/local_function
|
||||
|
||||
#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 bind `this_` below.
|
||||
|
||||
// Compile all local function declaration combinations.
|
||||
struct s {
|
||||
|
||||
Reference in New Issue
Block a user