microsoft / DirectXMath

DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
https://walbourn.github.io/introducing-directxmath/
MIT License
1.54k stars 238 forks source link

Remove VS 2015 compiler support #96

Closed walbourn closed 4 years ago

walbourn commented 4 years ago

This mostly allows me to remove the following workaround which was for VS 2015 RTM:

#if defined(_MSC_VER) && (_MSC_FULL_VER < 190023506)
#define XM_CONST const
#define XM_CONSTEXPR
#else
#define XM_CONST constexpr
#define XM_CONSTEXPR constexpr
#endif
walbourn commented 4 years ago

Also need to update SimpleMath in the DirectX Tool Kit not to use XM_CONSTEXPR. This should be fine since I dropped VS 2015 support for Feb 2020--it didn't use XM_CONST.

walbourn commented 4 years ago

Fixed in this pull request