diff --git a/util.hpp b/util.hpp index b389725..12818a1 100644 --- a/util.hpp +++ b/util.hpp @@ -4,6 +4,12 @@ namespace util { +template +inline constexpr type::remove_reference_t &&move(T &&t) noexcept +{ + return static_cast &&>(t); +} + template inline constexpr T &&forward(type::remove_reference_t &t) noexcept {