diff --git a/src/core/include/mp-units/framework/dimension.h b/src/core/include/mp-units/framework/dimension.h index 7155a740..cbd3609d 100644 --- a/src/core/include/mp-units/framework/dimension.h +++ b/src/core/include/mp-units/framework/dimension.h @@ -312,7 +312,8 @@ MP_UNITS_EXPORT template text; // TODO can we improve here? + // std::basic_string text; // TODO uncomment when https://wg21.link/P3032 is supported + detail::inplace_vector text; dimension_symbol_to(std::back_inserter(text), D{}, fmt); return text; }(); diff --git a/src/core/include/mp-units/framework/unit.h b/src/core/include/mp-units/framework/unit.h index 73655ef2..f32f4b40 100644 --- a/src/core/include/mp-units/framework/unit.h +++ b/src/core/include/mp-units/framework/unit.h @@ -823,7 +823,8 @@ MP_UNITS_EXPORT template text; // TODO can we improve here? + // std::basic_string text; // TODO uncomment when https://wg21.link/P3032 is supported + detail::inplace_vector text; unit_symbol_to(std::back_inserter(text), U{}, fmt); return text; }();