Skip to content

Commit

Permalink
docs: TODO note added to unit_symbol()
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Nov 30, 2023
1 parent 2c8783b commit 0e29354
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/include/mp-units/unit.h
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,8 @@ template<typename CharT, std::size_t N, unit_symbol_formatting fmt, Unit U>

} // namespace detail


// TODO Refactor to `unit_symbol(U, fmt)` when P1045: constexpr Function Parameters is available
template<unit_symbol_formatting fmt = unit_symbol_formatting{}, typename CharT = char, Unit U>
[[nodiscard]] constexpr auto unit_symbol(U)
{
Expand Down

0 comments on commit 0e29354

Please sign in to comment.