forked from boostorg/function
Updated to use new macro names
[SVN r81450]
This commit is contained in:
1 parent
419f424959
commit
9e30736439
1 file changed
+5
-5
@@ -749,7 +749,7 @@ namespace boost {
|
|||||||
this->assign_to_own(f);
|
this->assign_to_own(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef BOOST_NO_RVALUE_REFERENCES
|
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
BOOST_FUNCTION_FUNCTION(BOOST_FUNCTION_FUNCTION&& f) : function_base()
|
BOOST_FUNCTION_FUNCTION(BOOST_FUNCTION_FUNCTION&& f) : function_base()
|
||||||
{
|
{
|
||||||
this->move_assign(f);
|
this->move_assign(f);
|
||||||
@@ -838,7 +838,7 @@ namespace boost {
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef BOOST_NO_RVALUE_REFERENCES
|
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
// Move assignment from another BOOST_FUNCTION_FUNCTION
|
// Move assignment from another BOOST_FUNCTION_FUNCTION
|
||||||
BOOST_FUNCTION_FUNCTION& operator=(BOOST_FUNCTION_FUNCTION&& f)
|
BOOST_FUNCTION_FUNCTION& operator=(BOOST_FUNCTION_FUNCTION&& f)
|
||||||
{
|
{
|
||||||
@@ -1090,7 +1090,7 @@ public:
|
|||||||
|
|
||||||
function(const base_type& f) : base_type(static_cast<const base_type&>(f)){}
|
function(const base_type& f) : base_type(static_cast<const base_type&>(f)){}
|
||||||
|
|
||||||
#ifndef BOOST_NO_RVALUE_REFERENCES
|
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
// Move constructors
|
// Move constructors
|
||||||
function(self_type&& f): base_type(static_cast<base_type&&>(f)){}
|
function(self_type&& f): base_type(static_cast<base_type&&>(f)){}
|
||||||
function(base_type&& f): base_type(static_cast<base_type&&>(f)){}
|
function(base_type&& f): base_type(static_cast<base_type&&>(f)){}
|
||||||
@@ -1102,7 +1102,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef BOOST_NO_RVALUE_REFERENCES
|
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
self_type& operator=(self_type&& f)
|
self_type& operator=(self_type&& f)
|
||||||
{
|
{
|
||||||
self_type(static_cast<self_type&&>(f)).swap(*this);
|
self_type(static_cast<self_type&&>(f)).swap(*this);
|
||||||
@@ -1139,7 +1139,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef BOOST_NO_RVALUE_REFERENCES
|
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
self_type& operator=(base_type&& f)
|
self_type& operator=(base_type&& f)
|
||||||
{
|
{
|
||||||
self_type(static_cast<base_type&&>(f)).swap(*this);
|
self_type(static_cast<base_type&&>(f)).swap(*this);
|
||||||
|
|||||||
Reference in new issue
Block a user