Corrade/Utility/Move.h file new in Git master

Function Corrade::Utility::forward(), Corrade::Utility::move(), Corrade::Utility::swap()

Namespaces

namespace Corrade
Root namespace.
namespace Corrade::Utility
Utilities.

Functions

template<class T>
auto forward(typename std::remove_reference<T>::type& t) -> T&& constexpr noexcept new in Git master
Forward an l-value.
template<class T>
auto forward(typename std::remove_reference<T>::type&& t) -> T&& constexpr noexcept new in Git master
Forward an r-value.
template<class T>
auto move(T&& t) -> std::remove_reference<T>::type&& constexpr noexcept new in Git master
Convert a value to an r-value.
template<class T>
void swap(T& a, T& b) noexcept(…) new in Git master
Swap two values.
template<std::size_t size, class T>
void swap(T(&a)[size], T(&b)[size]) noexcept(…) new in Git master
Swap two arrays.