diff --git a/src/Magnum/Math/Algorithms/KahanSum.h b/src/Magnum/Math/Algorithms/KahanSum.h index 677bc782e..bec124556 100644 --- a/src/Magnum/Math/Algorithms/KahanSum.h +++ b/src/Magnum/Math/Algorithms/KahanSum.h @@ -29,7 +29,9 @@ * @brief Function @ref Magnum::Math::Algorithms::kahanSum() */ -#include /* std::declval :( */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include namespace Magnum { namespace Math { namespace Algorithms { diff --git a/src/Magnum/Math/Bezier.h b/src/Magnum/Math/Bezier.h index 2c6958f8f..007159350 100644 --- a/src/Magnum/Math/Bezier.h +++ b/src/Magnum/Math/Bezier.h @@ -30,6 +30,10 @@ * @brief Class @ref Magnum::Math::Bezier, alias @ref Magnum::Math::QuadraticBezier, @ref Magnum::Math::QuadraticBezier2D, @ref Magnum::Math::QuadraticBezier3D, @ref Magnum::Math::CubicBezier, @ref Magnum::Math::CubicBezier2D, @ref Magnum::Math::CubicBezier3D */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Vector.h" #ifdef MAGNUM_BUILD_DEPRECATED diff --git a/src/Magnum/Math/BitVector.h b/src/Magnum/Math/BitVector.h index a2bc0ad2a..990fe2b9d 100644 --- a/src/Magnum/Math/BitVector.h +++ b/src/Magnum/Math/BitVector.h @@ -30,6 +30,8 @@ * @m_since_latest */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ #include #include #ifndef CORRADE_SINGLES_NO_DEBUG diff --git a/src/Magnum/Math/Color.h b/src/Magnum/Math/Color.h index da34ba31a..14ac592bc 100644 --- a/src/Magnum/Math/Color.h +++ b/src/Magnum/Math/Color.h @@ -29,6 +29,10 @@ * @brief Class @ref Magnum::Math::Color3, @ref Magnum::Math::Color4, literal @link Magnum::Math::Literals::operator""_rgb() @endlink, @link Magnum::Math::Literals::operator""_rgba() @endlink, @link Magnum::Math::Literals::operator""_rgbf() @endlink, @link Magnum::Math::Literals::operator""_rgbaf() @endlink, @link Magnum::Math::Literals::operator""_srgb() @endlink, @link Magnum::Math::Literals::operator""_srgba() @endlink, @link Magnum::Math::Literals::operator""_srgbf() @endlink, @link Magnum::Math::Literals::operator""_srgbaf() @endlink */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Matrix.h" #include "Magnum/Math/Packing.h" #include "Magnum/Math/Vector4.h" diff --git a/src/Magnum/Math/Complex.h b/src/Magnum/Math/Complex.h index db49d46dc..10817445e 100644 --- a/src/Magnum/Math/Complex.h +++ b/src/Magnum/Math/Complex.h @@ -29,6 +29,9 @@ * @brief Class @ref Magnum::Math::Complex, function @ref Magnum::Math::dot(), @ref Magnum::Math::angle() */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include #ifndef CORRADE_SINGLES_NO_DEBUG #include #endif diff --git a/src/Magnum/Math/Dual.h b/src/Magnum/Math/Dual.h index d77d24fc2..5d49e8891 100644 --- a/src/Magnum/Math/Dual.h +++ b/src/Magnum/Math/Dual.h @@ -29,6 +29,9 @@ * @brief Class @ref Magnum::Math::Dual */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include #include #ifndef CORRADE_SINGLES_NO_DEBUG #include diff --git a/src/Magnum/Math/DualComplex.h b/src/Magnum/Math/DualComplex.h index 839a176ee..a6fd74242 100644 --- a/src/Magnum/Math/DualComplex.h +++ b/src/Magnum/Math/DualComplex.h @@ -30,6 +30,10 @@ * @brief Class @ref Magnum::Math::DualComplex */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Complex.h" #include "Magnum/Math/Dual.h" #include "Magnum/Math/Matrix3.h" diff --git a/src/Magnum/Math/DualQuaternion.h b/src/Magnum/Math/DualQuaternion.h index 7bf1cff92..c5c77e9f3 100644 --- a/src/Magnum/Math/DualQuaternion.h +++ b/src/Magnum/Math/DualQuaternion.h @@ -30,6 +30,9 @@ * @brief Class @ref Magnum::Math::DualQuaternion, function @ref Magnum::Math::sclerp() */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include #include #include "Magnum/Math/Dual.h" diff --git a/src/Magnum/Math/Frustum.h b/src/Magnum/Math/Frustum.h index 7c8554549..b70d5b4e6 100644 --- a/src/Magnum/Math/Frustum.h +++ b/src/Magnum/Math/Frustum.h @@ -30,6 +30,9 @@ * @brief Class @ref Magnum::Math::Frustum */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include #include #ifndef CORRADE_SINGLES_NO_DEBUG #include diff --git a/src/Magnum/Math/FunctionsBatch.h b/src/Magnum/Math/FunctionsBatch.h index b0a6bdfca..954df2ec6 100644 --- a/src/Magnum/Math/FunctionsBatch.h +++ b/src/Magnum/Math/FunctionsBatch.h @@ -30,6 +30,9 @@ */ #include +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include #include #include "Magnum/Math/Functions.h" diff --git a/src/Magnum/Math/Matrix.h b/src/Magnum/Math/Matrix.h index 0cd84b2f5..aeab958de 100644 --- a/src/Magnum/Math/Matrix.h +++ b/src/Magnum/Math/Matrix.h @@ -29,6 +29,10 @@ * @brief Class @ref Magnum::Math::Matrix, alias @ref Magnum::Math::Matrix2x2, @ref Magnum::Math::Matrix3x3, @ref Magnum::Math::Matrix4x4 */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/RectangularMatrix.h" namespace Magnum { namespace Math { diff --git a/src/Magnum/Math/Matrix3.h b/src/Magnum/Math/Matrix3.h index 3a46c8218..c37d31738 100644 --- a/src/Magnum/Math/Matrix3.h +++ b/src/Magnum/Math/Matrix3.h @@ -29,6 +29,10 @@ * @brief Class @ref Magnum::Math::Matrix3 */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Matrix.h" #include "Magnum/Math/Vector3.h" diff --git a/src/Magnum/Math/Matrix4.h b/src/Magnum/Math/Matrix4.h index 3dfc7b778..5cd930cb4 100644 --- a/src/Magnum/Math/Matrix4.h +++ b/src/Magnum/Math/Matrix4.h @@ -29,6 +29,10 @@ * @brief Class @ref Magnum::Math::Matrix4 */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Matrix.h" #include "Magnum/Math/Vector4.h" diff --git a/src/Magnum/Math/Quaternion.h b/src/Magnum/Math/Quaternion.h index 75bc7e608..da130dec0 100644 --- a/src/Magnum/Math/Quaternion.h +++ b/src/Magnum/Math/Quaternion.h @@ -30,6 +30,9 @@ * @brief Class @ref Magnum::Math::Quaternion, function @ref Magnum::Math::dot(), @ref Magnum::Math::halfAngle(), @ref Magnum::Math::lerp(), @ref Magnum::Math::slerp() */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include #ifndef CORRADE_SINGLES_NO_DEBUG #include #endif diff --git a/src/Magnum/Math/Range.h b/src/Magnum/Math/Range.h index d98f34a30..1c19661ab 100644 --- a/src/Magnum/Math/Range.h +++ b/src/Magnum/Math/Range.h @@ -29,6 +29,10 @@ * @brief Class @ref Magnum::Math::Range, @ref Magnum::Math::Range2D, @ref Magnum::Math::Range3D, alias @ref Magnum::Math::Range1D */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Functions.h" #include "Magnum/Math/Vector3.h" diff --git a/src/Magnum/Math/RectangularMatrix.h b/src/Magnum/Math/RectangularMatrix.h index 1a46a2d91..55a2472c3 100644 --- a/src/Magnum/Math/RectangularMatrix.h +++ b/src/Magnum/Math/RectangularMatrix.h @@ -29,6 +29,10 @@ * @brief Class @ref Magnum::Math::RectangularMatrix, alias @ref Magnum::Math::Matrix2x3, @ref Magnum::Math::Matrix3x2, @ref Magnum::Math::Matrix2x4, @ref Magnum::Math::Matrix4x2, @ref Magnum::Math::Matrix3x4, @ref Magnum::Math::Matrix4x3 */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Vector.h" namespace Magnum { namespace Math { diff --git a/src/Magnum/Math/Vector.h b/src/Magnum/Math/Vector.h index a057d99f5..2fd026214 100644 --- a/src/Magnum/Math/Vector.h +++ b/src/Magnum/Math/Vector.h @@ -29,6 +29,9 @@ * @brief Class @ref Magnum::Math::Vector, function @ref Magnum::Math::dot(), @ref Magnum::Math::angle() */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include #include #ifndef CORRADE_SINGLES_NO_DEBUG #include diff --git a/src/Magnum/Math/Vector2.h b/src/Magnum/Math/Vector2.h index 3653a0445..452c35214 100644 --- a/src/Magnum/Math/Vector2.h +++ b/src/Magnum/Math/Vector2.h @@ -29,6 +29,10 @@ * @brief Class @ref Magnum::Math::Vector2, function @ref Magnum::Math::cross() */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Vector.h" namespace Magnum { namespace Math { diff --git a/src/Magnum/Math/Vector3.h b/src/Magnum/Math/Vector3.h index 2ef697c37..3b44d4d2b 100644 --- a/src/Magnum/Math/Vector3.h +++ b/src/Magnum/Math/Vector3.h @@ -29,6 +29,10 @@ * @brief Class @ref Magnum::Math::Vector3, function @ref Magnum::Math::cross() */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Vector2.h" namespace Magnum { namespace Math { diff --git a/src/Magnum/Math/Vector4.h b/src/Magnum/Math/Vector4.h index c48d4c529..40efff750 100644 --- a/src/Magnum/Math/Vector4.h +++ b/src/Magnum/Math/Vector4.h @@ -29,6 +29,10 @@ * @brief Class @ref Magnum::Math::Vector4, function @ref Magnum::Math::planeEquation() */ +/* std::declval() is said to be in but libstdc++, libc++ and MSVC STL + all have it directly in because it just makes sense */ +#include + #include "Magnum/Math/Vector3.h" namespace Magnum { namespace Math {