Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Concepts.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Concepts.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2022 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
#if defined(ACTS_CONCEPTS_SUPPORTED)
12
13
#define ACTS_REQUIRES(x) requires(x)
14
#define ACTS_CONCEPT(x) x
15
#define ACTS_STATIC_CHECK_CONCEPT(check_concept, check_type) \
16
static_assert(check_concept<check_type>, \
17
#check_type " does not fulfill " #check_concept)
18
19
#else
20
21
#define ACTS_REQUIRES(x)
22
#define ACTS_CONCEPT(x) typename
23
#define ACTS_STATIC_CHECK_CONCEPT(concept, type) \
24
static_assert(true, "Dummy assertion")
25
26
#endif
acts
blob
sPHENIX
Core
include
Acts
Utilities
Concepts.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:34
using
1.8.2 with
sPHENIX GitHub integration