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     remove_rvalue_reference.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_FUNCTION_REMOVE_RVALUE_REFERENCE_H
0009 #define BOOST_HOF_GUARD_FUNCTION_REMOVE_RVALUE_REFERENCE_H
0010 
0011 namespace boost { namespace hof { namespace detail {
0012 
0013 template<class T>
0014 struct remove_rvalue_reference
0015 {
0016     typedef T type;
0017 };
0018 
0019 template<class T>
0020 struct remove_rvalue_reference<T&&>
0021 : remove_rvalue_reference<T>
0022 {};
0023 
0024 }}} // namespace boost::hof
0025 
0026 #endif