forked from boostorg/function
Work around Visual C++ copy constructor bug. Fixes #2929.
Based on the patch by Steven Watanabe. [SVN r54619]
This commit is contained in:
@ -262,6 +262,12 @@ namespace boost {
|
||||
A(a)
|
||||
{
|
||||
}
|
||||
|
||||
functor_wrapper(const functor_wrapper& f) :
|
||||
F(static_cast<const F&>(f)),
|
||||
A(static_cast<const A&>(f))
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user