curlcpp icon indicating copy to clipboard operation
curlcpp copied to clipboard

NOEXCEPT

Open Xeverous opened this issue 5 years ago • 0 comments

I don't get the use of NOEXCEPT macro

https://github.com/JosephP91/curlcpp/blob/0c2f06df81c6cb24fad11fd12d69a2dd19360285/include/curl_config.h#L25-L35

  • noexcept is 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.

Xeverous avatar Feb 24 '20 20:02 Xeverous