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 
11 namespace boost { namespace hof { namespace detail {
12 
13 template<class T>
14 struct remove_rvalue_reference
15 {
16     typedef T type;
17 };
18 
19 template<class T>
20 struct remove_rvalue_reference<T&&>
21 : remove_rvalue_reference<T>
22 {};
23 
24 }}} // namespace boost::hof
25 
26 #endif
27