1 #ifndef RBIMPL_ATTR_NOEXCEPT_H
2 #define RBIMPL_ATTR_NOEXCEPT_H
68 #if ! defined(__cplusplus)
70 # define RBIMPL_ATTR_NOEXCEPT(_)
72 #elif RBIMPL_HAS_FEATURE(cxx_noexcept)
73 # define RBIMPL_ATTR_NOEXCEPT(_) noexcept(noexcept(_))
75 #elif defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__
76 # define RBIMPL_ATTR_NOEXCEPT(_) noexcept(noexcept(_))
78 #elif defined(__INTEL_CXX11_MODE__)
79 # define RBIMPL_ATTR_NOEXCEPT(_) noexcept(noexcept(_))
81 #elif RBIMPL_COMPILER_SINCE(MSVC, 19, 0, 0)
82 # define RBIMPL_ATTR_NOEXCEPT(_) noexcept(noexcept(_))
84 #elif __cplusplus >= 201103L
85 # define RBIMPL_ATTR_NOEXCEPT(_) noexcept(noexcept(_))
88 # define RBIMPL_ATTR_NOEXCEPT(_)
Defines RBIMPL_COMPILER_SINCE.
Defines RBIMPL_HAS_FEATURE.