described headers in docs; added move in operator>>

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

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
{