1 #ifndef SILICIUM_REACTIVE_EXCHANGE_HPP
2 #define SILICIUM_REACTIVE_EXCHANGE_HPP
6 #include <boost/config.hpp>
12 template <
class T,
class U>
16 dest = std::forward<U>(source);
20 template <
class T,
class U>
24 dest = std::forward<U>(source);
29 template <
class T,
class U>
34 std::forward<U>(source),
35 std::integral_constant<
bool,
39 BOOST_NOEXCEPT_EXPR(dest = std::forward<U>(source))
Definition: absolute_path.hpp:19
BOOST_CONSTEXPR Result move_if_noexcept(T &x)
Definition: move_if_noexcept.hpp:17
T exchange(T &dest, U &&source)
Definition: exchange.hpp:30
T exchange_impl(T &dest, U &&source, std::true_type)
Definition: exchange.hpp:13