mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 04:14:27 +02:00
docs: TODO note changed in the unit_symbol
and dimension_symbol
This commit is contained in:
@@ -312,7 +312,8 @@ MP_UNITS_EXPORT template<dimension_symbol_formatting fmt = dimension_symbol_form
|
||||
#endif
|
||||
{
|
||||
constexpr auto oversized_symbol_text = []() consteval {
|
||||
detail::inplace_vector<CharT, 128> text; // TODO can we improve here?
|
||||
// std::basic_string<CharT> text; // TODO uncomment when https://wg21.link/P3032 is supported
|
||||
detail::inplace_vector<CharT, 128> text;
|
||||
dimension_symbol_to<CharT>(std::back_inserter(text), D{}, fmt);
|
||||
return text;
|
||||
}();
|
||||
|
@@ -823,7 +823,8 @@ MP_UNITS_EXPORT template<unit_symbol_formatting fmt = unit_symbol_formatting{},
|
||||
#endif
|
||||
{
|
||||
constexpr auto oversized_symbol_text = []() consteval {
|
||||
detail::inplace_vector<CharT, 128> text; // TODO can we improve here?
|
||||
// std::basic_string<CharT> text; // TODO uncomment when https://wg21.link/P3032 is supported
|
||||
detail::inplace_vector<CharT, 128> text;
|
||||
unit_symbol_to<CharT>(std::back_inserter(text), U{}, fmt);
|
||||
return text;
|
||||
}();
|
||||
|
Reference in New Issue
Block a user