diff options
author | Artyom Polkovnikov <artyom.polkovnikov@gmail.com> | 2014-12-30 20:17:17 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:35:54 +0300 |
commit | d6e005c1fb3c6b369482aaadb9aea78982869c7c (patch) | |
tree | 48012118034bd8a3ae1dd473938e1e53cc1f2121 /std | |
parent | ac80186f7db8cee3dd7b1772f8eddfbd7f808258 (diff) |
[std] Replace all instances of noexcept with conditional macro, disable noexcept in MSVC <= 2013.
Diffstat (limited to 'std')
-rw-r--r-- | std/noexcept.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/std/noexcept.hpp b/std/noexcept.hpp new file mode 100644 index 0000000000..99ae2fc068 --- /dev/null +++ b/std/noexcept.hpp @@ -0,0 +1,7 @@ +#pragma once + +#if defined(_MSC_VER) && (_MSC_VER <= 1800) + #define NOEXCEPT_MODIFIER +#else + #define NOEXCEPT_MODIFIER noexcept +#endif |