1/*=============================================================================
2 Copyright (c) 2014 Paul Fultz II
3 remove_rvalue_reference.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_FUNCTION_REMOVE_RVALUE_REFERENCE_H
9#define BOOST_HOF_GUARD_FUNCTION_REMOVE_RVALUE_REFERENCE_H
10
11namespace boost { namespace hof { namespace detail {
12
13template<class T>
14struct remove_rvalue_reference
15{
16 typedef T type;
17};
18
19template<class T>
20struct remove_rvalue_reference<T&&>
21: remove_rvalue_reference<T>
22{};
23
24}}} // namespace boost::hof
25
26#endif
27

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