diff --git a/src/core/include/mp-units/framework/reference_concepts.h b/src/core/include/mp-units/framework/reference_concepts.h index 798e9411..0bd2a49d 100644 --- a/src/core/include/mp-units/framework/reference_concepts.h +++ b/src/core/include/mp-units/framework/reference_concepts.h @@ -91,17 +91,21 @@ struct absolute_ final { static constexpr Reference auto _original_reference_ = R{}; }; -template -MP_UNITS_EXPORT inline constexpr relative_ delta{}; +MP_UNITS_EXPORT_BEGIN template -MP_UNITS_EXPORT inline constexpr absolute_ absolute{}; +inline constexpr relative_ delta{}; + +template +inline constexpr absolute_ absolute{}; template -MP_UNITS_EXPORT concept DeltaReference = +concept DeltaReference = (Reference && !requires { get_unit(T{}).point_origin; }) || is_specialization_of; template -MP_UNITS_EXPORT concept AbsoluteReference = is_specialization_of; +concept AbsoluteReference = is_specialization_of; + +MP_UNITS_EXPORT_END } // namespace mp_units