Iros
 
Loading...
Searching...
No Matches
exchange.h File Reference
#include "di/util/forward.h"
#include "di/util/move.h"

Go to the source code of this file.

Namespaces

namespace  di
 
namespace  di::util
 

Functions

template<typename T, typename U = T>
constexpr auto di::util::exchange (T &object, U &&new_value) -> T
 
template<typename T, typename U = T>
constexpr auto di::exchange (T &object, U &&new_value) -> T