mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +02:00
fix: invalid preprocessor conditions fixed
This commit is contained in:
@ -32,7 +32,7 @@ namespace mp_units {
|
||||
template<Reference auto R, RepresentationOf<get_quantity_spec(R).character> Rep>
|
||||
class quantity;
|
||||
|
||||
#if MP_UNITS_COMP_CLANG < 17
|
||||
#if defined MP_UNITS_COMP_CLANG && MP_UNITS_COMP_CLANG < 17
|
||||
template<auto R, typename Rep>
|
||||
#else
|
||||
template<Reference auto R, typename Rep>
|
||||
|
@ -110,7 +110,7 @@ template<Reference auto R, PointOriginFor<get_quantity_spec(R)> auto PO,
|
||||
RepresentationOf<get_quantity_spec(R).character> Rep>
|
||||
class quantity_point;
|
||||
|
||||
#if MP_UNITS_COMP_CLANG < 17
|
||||
#if defined MP_UNITS_COMP_CLANG && MP_UNITS_COMP_CLANG < 17
|
||||
template<auto PO, typename Q>
|
||||
#else
|
||||
template<PointOrigin auto PO, Quantity Q>
|
||||
|
@ -325,7 +325,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
#if MP_UNITS_COMP_CLANG < 17
|
||||
#if defined MP_UNITS_COMP_CLANG && MP_UNITS_COMP_CLANG < 17
|
||||
template<auto R2, typename Rep2>
|
||||
#else
|
||||
template<Reference auto R2, typename Rep2>
|
||||
@ -439,7 +439,7 @@ template<auto R1, typename Rep1, auto R2, typename Rep2>
|
||||
}
|
||||
|
||||
// make_quantity
|
||||
#if MP_UNITS_COMP_CLANG < 17
|
||||
#if defined MP_UNITS_COMP_CLANG && MP_UNITS_COMP_CLANG < 17
|
||||
template<auto R, typename Rep>
|
||||
#else
|
||||
template<Reference auto R, typename Rep>
|
||||
|
@ -207,7 +207,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
#if MP_UNITS_COMP_CLANG < 17
|
||||
#if defined MP_UNITS_COMP_CLANG && MP_UNITS_COMP_CLANG < 17
|
||||
template<auto PO2, typename Q>
|
||||
#else
|
||||
template<PointOrigin auto PO2, Quantity Q>
|
||||
@ -360,7 +360,7 @@ template<QuantityPoint QP1, QuantityPointOf<QP1::absolute_point_origin> QP2>
|
||||
}
|
||||
|
||||
// make_quantity_point
|
||||
#if MP_UNITS_COMP_CLANG < 17
|
||||
#if defined MP_UNITS_COMP_CLANG && MP_UNITS_COMP_CLANG < 17
|
||||
template<auto PO, typename Q>
|
||||
#else
|
||||
template<PointOrigin auto PO, Quantity Q>
|
||||
|
Reference in New Issue
Block a user