forked from boostorg/move
Fixes #8420 and some clang errors.
This commit is contained in:
+4
-1
@@ -35,7 +35,10 @@ class movable
|
||||
{ value_ = m.value_; m.value_ = 0; return *this; }
|
||||
|
||||
bool moved() const //Observer
|
||||
{ return value_ == 0; }
|
||||
{ return !value_; }
|
||||
|
||||
int value() const //Observer
|
||||
{ return value_; }
|
||||
};
|
||||
|
||||
namespace boost{
|
||||
|
||||
Reference in New Issue
Block a user