Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-14 08:53:40

0001 /***********************************************************************************\
0002 * (c) Copyright 2025 CERN for the benefit of the LHCb and ATLAS collaborations      *
0003 *                                                                                   *
0004 * This software is distributed under the terms of the Apache version 2 licence,     *
0005 * copied verbatim in the file "LICENSE".                                            *
0006 *                                                                                   *
0007 * In applying this licence, CERN does not waive the privileges and immunities       *
0008 * granted to it by virtue of its status as an Intergovernmental Organization        *
0009 * or submit itself to any jurisdiction.                                             *
0010 \***********************************************************************************/
0011 #pragma once
0012 
0013 #include <concepts>
0014 
0015 class InterfaceID;
0016 
0017 namespace Gaudi {
0018   template <typename T>
0019   concept IsInterface = requires {
0020     { T::interfaceID() } -> std::same_as<const InterfaceID&>;
0021   };
0022 } // namespace Gaudi