mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 03:44:27 +02:00
fix: CTAD test disabled for most of the compilers
This commit is contained in:
@@ -273,7 +273,7 @@ static_assert(get_length_derived_quantity() == 1_q_m);
|
|||||||
// CTAD
|
// CTAD
|
||||||
/////////
|
/////////
|
||||||
|
|
||||||
#if !UNITS_COMP_CLANG || UNITS_COMP_CLANG > 13
|
#if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 13
|
||||||
static_assert(std::is_same_v<decltype(units::aliases::isq::si::m(123))::rep, int>);
|
static_assert(std::is_same_v<decltype(units::aliases::isq::si::m(123))::rep, int>);
|
||||||
static_assert(std::is_same_v<decltype(units::aliases::isq::si::m(123.))::rep, double>);
|
static_assert(std::is_same_v<decltype(units::aliases::isq::si::m(123.))::rep, double>);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user