Implement move

This commit is contained in:
BlackMark 2020-04-14 13:09:41 +02:00
parent 20f552790f
commit a2bb2c2900

View File

@ -4,6 +4,12 @@
namespace util {
template <typename T>
inline constexpr type::remove_reference_t<T> &&move(T &&t) noexcept
{
return static_cast<type::remove_reference_t<T> &&>(t);
}
template <typename T>
inline constexpr T &&forward(type::remove_reference_t<T> &t) noexcept
{