#include <concepts/swap.hpp>
#include <range/v3/range_fwd.hpp>
#include <range/v3/utility/static_const.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>
Go to the source code of this file.
|
|
template<typename T, typename U = T> |
| CPP_CXX14_CONSTEXPR meta::if_c< std::is_move_constructible< T >::value &&std::is_assignable< T &, U >::value, T > | ranges::exchange (T &t, U &&u) noexcept(std::is_nothrow_move_constructible< T >::value &&std::is_nothrow_assignable< T &, U >::value) |