Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:50

0001 ///////////////////////////////////////////////////////////////////////////////
0002 // Copyright (c) Lewis Baker
0003 // Licenced under MIT license. See LICENSE.txt for details.
0004 ///////////////////////////////////////////////////////////////////////////////
0005 #ifndef CPPCORO_DETAIL_REMOVE_RVALUE_REFERENCE_HPP_INCLUDED
0006 #define CPPCORO_DETAIL_REMOVE_RVALUE_REFERENCE_HPP_INCLUDED
0007 
0008 namespace cppcoro
0009 {
0010     namespace detail
0011     {
0012         template<typename T>
0013         struct remove_rvalue_reference
0014         {
0015             using type = T;
0016         };
0017 
0018         template<typename T>
0019         struct remove_rvalue_reference<T&&>
0020         {
0021             using type = T;
0022         };
0023 
0024         template<typename T>
0025         using remove_rvalue_reference_t = typename remove_rvalue_reference<T>::type;
0026     }
0027 }
0028 
0029 #endif