 |
DATAKIT SDK
V2026.3
|
|
Go to the documentation of this file. 1 #ifndef DTK_CORE_CONFIG_HPP
2 #define DTK_CORE_CONFIG_HPP
6 #if !defined(DTK_NO_CXX11_CONSTEXPR)
7 # define DTK_CONSTEXPR constexpr
8 # define DTK_CONSTEXPR_OR_CONST constexpr
10 # define DTK_CONSTEXPR
11 # define DTK_CONSTEXPR_OR_CONST const
13 #if !defined(DTK_NO_CXX14_CONSTEXPR)
14 # define DTK_CXX14_CONSTEXPR constexpr
16 # define DTK_CXX14_CONSTEXPR
19 #if !defined(DTK_NO_CXX11_NOEXCEPT)
20 # define DTK_NOEXCEPT noexcept
21 # define DTK_NOEXCEPT_IF(Predicate) noexcept((Predicate))
22 # define DTK_NOEXCEPT_EXPR(Expression) noexcept((Expression))
25 # define DTK_NOEXCEPT_IF(Predicate)
26 # define DTK_NOEXCEPT_EXPR(Expression) false