-
-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Description
I don't get the use of NOEXCEPT macro
Lines 25 to 35 in 0c2f06d
| #ifndef __curlcpp__curl_config__ | |
| #define __curlcpp__curl_config__ | |
| #if defined(_MSC_VER) | |
| #define NOEXCEPT | |
| #include <ciso646> | |
| #else | |
| #define NOEXCEPT noexcept | |
| #endif | |
| #endif /* defined(__curlcpp__curl_config__) */ |
noexceptis a mandatory language feature and a conforming C++11 compiler must support it<ciso646>has been removed in C++20, so a conforming implementation may actually fail to build- The
__curlcpp__curl_config__is technically undefined behavior (any names containing__, especially the ones starting with double underscore or an underscore + uppercase letter are reserved for the implementation) - this is obviously very unlikely to cause problems, but mentioning this in case you care for maximum conformance.
Metadata
Metadata
Assignees
Labels
No labels