Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GLM_NOEXCEPT to a lot of functions #402

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add GLM_NOEXCEPT
  • Loading branch information
JesseTG committed Sep 11, 2015
commit 5a6df6214ce4d4d7e7decb2b75e4af522bf91292
10 changes: 10 additions & 0 deletions glm/detail/setup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down