Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-03-13 09:06:31

0001 ///////////////////////////////////////////////////////////////////////////////
0002 // Copyright (c) Lewis Baker
0003 // Licenced under MIT license. See LICENSE.txt for details.
0004 ///////////////////////////////////////////////////////////////////////////////
0005 #ifndef CPPCORO_DETAIL_ANY_HPP_INCLUDED
0006 #define CPPCORO_DETAIL_ANY_HPP_INCLUDED
0007 
0008 namespace cppcoro
0009 {
0010     namespace detail
0011     {
0012         // Helper type that can be cast-to from any type.
0013         struct any
0014         {
0015             template<typename T>
0016             any(T&&) noexcept
0017             {}
0018         };
0019     }
0020 }
0021 
0022 #endif