Back to home page

EIC code displayed by LXR

 
 

    


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

0001 
0002 //              Copyright Catch2 Authors
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //   (See accompanying file LICENSE.txt or copy at
0005 //        https://www.boost.org/LICENSE_1_0.txt)
0006 
0007 // SPDX-License-Identifier: BSL-1.0
0008 #ifndef CATCH_VOID_TYPE_HPP_INCLUDED
0009 #define CATCH_VOID_TYPE_HPP_INCLUDED
0010 
0011 
0012 namespace Catch {
0013     namespace Detail {
0014 
0015         template <typename...>
0016         struct make_void { using type = void; };
0017 
0018         template <typename... Ts>
0019         using void_t = typename make_void<Ts...>::type;
0020 
0021     } // namespace Detail
0022 } // namespace Catch
0023 
0024 
0025 #endif // CATCH_VOID_TYPE_HPP_INCLUDED