 |
helics 3.7.0
|
Loading...
Searching...
No Matches
7#ifndef HELICS_CPP98_CONFIG_HPP_
8#define HELICS_CPP98_CONFIG_HPP_
12#if (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && \
13 defined(__GXX_EXPERIMENTAL_CXX0X__))
14# define HELICS_HAS_RVALUE_REFS
15#elif defined(__clang__)
16# if __has_feature(cxx_rvalue_references)
17# define HELICS_HAS_RVALUE_REFS
19#elif defined(_MSC_VER) && (_MSC_VER >= 1900)
20# define HELICS_HAS_RVALUE_REFS
21#elif defined(_MSC_VER) && (_MSC_VER >= 1600)
22# define HELICS_HAS_RVALUE_REFS
26#if __cplusplus > 199711L
27# define HELICS_THROWS_EXCEPTION noexcept(false)
28# define HELICS_NOTHROW noexcept
29# define HELICS_NULL_POINTER nullptr
30# define HELICS_HAS_FUNCTIONAL 1
31#elif defined(_MSC_VER) && (_MSC_VER >= 1900)
32# define HELICS_THROWS_EXCEPTION noexcept(false)
33# define HELICS_NOTHROW noexcept
34# define HELICS_NULL_POINTER nullptr
35# define HELICS_HAS_FUNCTIONAL 1
37# define HELICS_THROWS_EXCEPTION throw(HelicsException)
38# define HELICS_NOTHROW throw()
39# define HELICS_NULL_POINTER NULL
40# define HELICS_HAS_FUNCTIONAL 0
43#define HELICS_IGNORE_ERROR HELICS_NULL_POINTER
46#if !(defined(_MSC_VER) && __cplusplus == 199711L) && !defined(__INTEL_COMPILER)
47# if __cplusplus >= 201703L
50#elif defined(_MSC_VER) && __cplusplus == 199711L
54# if _MSVC_LANG > 201402L && _MSC_VER >= 1910
60#if !defined(HELICS_CPP17) || \
61 (defined(__GNUC__) && !defined(__llvm__) && !defined(__INTEL_COMPILER) && __GNUC__ < 10 && \
63# define HELICS_NODISCARD
65# define HELICS_NODISCARD [[nodiscard]]