mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 06:44:35 +00:00
Add GLM_NOEXCEPT
This commit is contained in:
parent
c965ac42d6
commit
5a6df6214c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user