Trying to fix specialization before instantiation error

This commit is contained in:
Pascal Serrarens 2024-12-28 15:19:42 +01:00
parent e445e5bb93
commit d212db2783

View File

@ -36,7 +36,7 @@ public:
/// @brief Creates an angle in radians
/// @param radians the angle in radians
/// @return The angle value
constexpr static auto Deg = &Degrees<T>;
constexpr static AngleOf<T> (*Deg)(float degrees) = &Degrees;
static AngleOf<T> Radians(float radians);
/// @brief Short-hand Rad alias for the Radians function
// constexpr static auto Rad = Radians;