]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/fiber/include/boost/fiber/detail/decay_copy.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / fiber / include / boost / fiber / detail / decay_copy.hpp
CommitLineData
7c673cae
FG
1
2// Copyright Oliver Kowalke 2014.
3// Distributed under the Boost Software License, Version 1.0.
4// (See accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6
7#ifndef BOOST_FIBER_DETAIL_DECAY_COPY_H
8#define BOOST_FIBER_DETAIL_DECAY_COPY_H
9
10#include <type_traits>
11
12#include <boost/config.hpp>
13
14#include <boost/fiber/detail/config.hpp>
15
16#ifdef BOOST_HAS_ABI_HEADERS
17# include BOOST_ABI_PREFIX
18#endif
19
20namespace boost {
21namespace fibers {
22namespace detail {
23
24template< typename T >
25typename std::decay< T >::type
26decay_copy( T && t) {
27 return std::forward< T >( t);
28}
29
30}}}
31
32#ifdef BOOST_HAS_ABI_HEADERS
33#include BOOST_ABI_SUFFIX
34#endif
35
36#endif // BOOST_FIBER_DETAIL_DECAY_COPY_H