Dune Core Modules (2.9.0)

keywords.hh
Go to the documentation of this file.
1 // SPDX-FileCopyrightInfo: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
2 // SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
3 #ifndef DUNE_COMMON_KEYWORDS_HH
4 #define DUNE_COMMON_KEYWORDS_HH
5 
18 #if __cpp_inline_variables >= 201606
19 #define DUNE_INLINE_VARIABLE inline
20 #else
22 
25 #define DUNE_INLINE_VARIABLE
26 #endif
27 
28 
29 #if __cpp_constexpr >= 201304
30 #define DUNE_GENERALIZED_CONSTEXPR constexpr
31 #else
33 
36 #define DUNE_GENERALIZED_CONSTEXPR
37 #endif
38 
39 
40 #endif // DUNE_COMMON_KEYWORDS_HH
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 30, 22:37, 2024)