From 5a6df6214ce4d4d7e7decb2b75e4af522bf91292 Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Fri, 11 Sep 2015 17:13:11 -0400 Subject: [PATCH] Add GLM_NOEXCEPT --- glm/detail/setup.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index df347f1f..842c7b29 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -962,6 +962,16 @@ # define GLM_EXPLICIT #endif +#ifdef GLM_HAS_NOEXCEPT +# define GLM_NOEXCEPT noexcept +# define GLM_NOEXCEPT_COND(x) noexcept(x) +# define GLM_NOEXCEPT_OP(x) noexcept(x) +#else +# define GLM_NOEXCEPT +# define GLM_NOEXCEPT_COND(x) +# define GLM_NOEXCEPT_OP(x) false +#endif + /////////////////////////////////////////////////////////////////////////////////// // Length type