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
13namespace boost { namespace hof {
14
15template<typename T>
16constexpr typename std::remove_reference<T>::type&&
17move(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

source code of boost/libs/hof/include/boost/hof/detail/move.hpp