I'm a beginner to C++ and I'm learning about some of the C++11 features. One thing I noticed was that in some parts of the Visual C++ stdlib, the authors used the _NOEXCEPT
macro instead of the noexcept
keyword. Hovering over the macro says #define _NOEXCEPT noexcept
, so I'm a bit confused what the point of it is. What's the difference between the two, and should I prefer one over the other?
EDIT: I just searched for it on GitHub and it looks like clang uses it as well, so it isn't a Visual C++ specific macro.