forked from boostorg/optional
refactor: drop Boost.Move dependency
Implement constexpr definitions of forward and move to replace usage of boost::move and boost::forward from the Boost.Move library. Alter tests to use std::move instead of boost::move. Remove the dependency on Boost.Move from build.jam
This commit is contained in:
@ -64,7 +64,7 @@ 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);
|
||||
v = std::move(x);
|
||||
#else
|
||||
v = x;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user