|
tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Namespaces | |
| namespace | etl |
Functions | |
| template<typename T , typename U = T> | |
| constexpr auto | exchange (T &obj, U &&newValue) noexcept(etl::is_nothrow_move_constructible_v< T > and etl::is_nothrow_assignable_v< T &, U >) -> T |
| Replaces the value of obj with new_value and returns the old value of obj. | |