Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:05:24

0001 
0002 //          Copyright Oliver Kowalke 2014.
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //    (See accompanying file LICENSE_1_0.txt or copy at
0005 //          http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #ifndef BOOST_FIBER_DETAIL_DECAY_COPY_H
0008 #define BOOST_FIBER_DETAIL_DECAY_COPY_H
0009 
0010 #include <type_traits>
0011 
0012 #include <boost/config.hpp>
0013 
0014 #include <boost/fiber/detail/config.hpp>
0015 
0016 #ifdef BOOST_HAS_ABI_HEADERS
0017 # include BOOST_ABI_PREFIX
0018 #endif
0019 
0020 namespace boost {
0021 namespace fibers {
0022 namespace detail {
0023 
0024 template< typename T >
0025 typename std::decay< T >::type
0026 decay_copy( T && t) {
0027     return std::forward< T >( t);
0028 }
0029 
0030 }}}
0031 
0032 #ifdef BOOST_HAS_ABI_HEADERS
0033 #include BOOST_ABI_SUFFIX
0034 #endif
0035 
0036 #endif // BOOST_FIBER_DETAIL_DECAY_COPY_H