Dune Core Modules (unstable)

keywords.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightInfo: Copyright © 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
6#warning This header is deprecated and will be removed after Dune 2.10. All key words are supported by C++ 17.
7
20#if __cpp_inline_variables >= 201606
21#define DUNE_INLINE_VARIABLE inline
22#else
24
27#define DUNE_INLINE_VARIABLE
28#endif
29
30
31#if __cpp_constexpr >= 201304
32#define DUNE_GENERALIZED_CONSTEXPR constexpr
33#else
35
38#define DUNE_GENERALIZED_CONSTEXPR
39#endif
40
41
42#endif // DUNE_COMMON_KEYWORDS_HH
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)