Boost.Visitor initial release.

[SVN r792]
This commit is contained in:
Eric Friedman
2002-12-25 00:00:48 +00:00
parent 72667a6658
commit 5c78cdb9c5

View File

@@ -118,7 +118,9 @@ public: // modifiers
optional& operator=(const T& operand)
{
clear();
new(storage_.address()) T(operand.get());
new(storage_.address()) T(operand);
empty_ = false;
return *this;
}