described headers in docs; added move in operator>>

This commit is contained in:
Andrzej Krzemienski committed 2015-03-09 21:56:25 +01:00
1 parent 0a8a798c3a
commit 6e40825098
21 files changed
+3294 -2695

No files matched your search

+4
View File
@@ -62,7 +62,11 @@ operator>>(std::basic_istream<CharType, CharTrait>& in, optional<T>& v)
{
T x;
in >> x;
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
v = boost::move(x);
#else
v = x;
#endif
}
else
{