1 // Copyright 2018 The Fuchsia Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #pragma once 6 7 #include <type_traits> 8 9 namespace ktl { 10 11 template <typename T> move(T && t)12constexpr typename std::remove_reference<T>::type&& move(T&& t) { 13 return static_cast<typename std::remove_reference<T>::type&&>(t); 14 } 15 16 } // namespace ktl 17