- Timestamp:
- Aug 27, 2018 9:52:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r73904 r73906 1130 1130 #else 1131 1131 # define RT_OVERRIDE 1132 #endif 1133 1134 /** @def RT_NOEXCEPT 1135 * Wrapper for the C++11 noexcept keyword (only true form). 1136 */ 1137 /** @def RT_NOEXCEPT_EX 1138 * Wrapper for the C++11 noexcept keyword with expression. 1139 */ 1140 #ifdef __cplusplus 1141 # if RT_MSC_PREREQ_EX(RT_MSC_VER_VS2015, 0) 1142 # define RT_NOEXCEPT noexcept 1143 # define RT_NOEXCEPT_EX(expr) noexcept(expr) 1144 # elif RT_GNUC_PREREQ(7, 0) 1145 # if __cplusplus >= 201100 1146 # define RT_NOEXCEPT noexcept 1147 # define RT_NOEXCEPT_EX(expr) noexcept(expr) 1148 # else 1149 # define RT_NOEXCEPT 1150 # define RT_NOEXCEPT_EX(expr) 1151 # endif 1152 # else 1153 # define RT_NOEXCEPT 1154 # define RT_NOEXCEPT_EX(expr) 1155 # endif 1156 #else 1157 # define RT_NOEXCEPT 1158 # define RT_NOEXCEPT_EX(expr) 1132 1159 #endif 1133 1160
Note:
See TracChangeset
for help on using the changeset viewer.