tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
move.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename T>
constexpr auto move (T &&t) noexcept -> etl::remove_reference_t< T > &&
 move is used to indicate that an object t may be "moved from", i.e. allowing the efficient transfer of resources from t to another object. In particular, move produces an xvalue expression that identifies its argument t. It is exactly equivalent to a static_cast to an rvalue reference type.