style: mark comment as TODO

Addresses https://github.com/mpusz/units/pull/261#discussion_r596641518.
This commit is contained in:
Johel Ernesto Guerrero Peña
2021-03-18 13:13:49 -04:00
committed by Mateusz Pusz
parent 9a520edfe9
commit dd1a46cd35

View File

@@ -36,7 +36,7 @@ namespace units {
namespace detail { namespace detail {
template<Reference R> // Replace with `v * R{}` pending https://github.com/BobSteagall/wg21/issues/58. template<Reference R> // TODO: Replace with `v * R{}` pending https://github.com/BobSteagall/wg21/issues/58.
inline constexpr auto make_quantity = [](auto v) { inline constexpr auto make_quantity = [](auto v) {
using Rep = decltype(v); using Rep = decltype(v);
return quantity<typename R::dimension, typename R::unit, Rep>(std::move(v)); return quantity<typename R::dimension, typename R::unit, Rep>(std::move(v));