Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:14

0001 /*=============================================================================
0002     Copyright (c) 2014 Paul Fultz II
0003     move.h
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 ==============================================================================*/
0007 
0008 #ifndef BOOST_HOF_GUARD_MOVE_H
0009 #define BOOST_HOF_GUARD_MOVE_H
0010 
0011 #include <utility>
0012 
0013 namespace boost { namespace hof {
0014 
0015 template<typename T>
0016 constexpr typename std::remove_reference<T>::type&&
0017 move(T&& x) noexcept
0018 { 
0019     return static_cast<typename std::remove_reference<T>::type&&>(x); 
0020 }
0021 
0022 }} // namespace boost::hof
0023 
0024 #endif