1 /*=============================================================================
2     Copyright (c) 2014 Paul Fultz II
3     move.h
4     Distributed under the Boost Software License, Version 1.0. (See accompanying
5     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 
8 #ifndef BOOST_HOF_GUARD_MOVE_H
9 #define BOOST_HOF_GUARD_MOVE_H
10 
11 #include <utility>
12 
13 namespace boost { namespace hof {
14 
15 template<typename T>
16 constexpr typename std::remove_reference<T>::type&&
move(T && x)17 move(T&& x) noexcept
18 {
19     return static_cast<typename std::remove_reference<T>::type&&>(x);
20 }
21 
22 }} // namespace boost::hof
23 
24 #endif
25