mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 21:24:27 +02:00
style: mark comment as TODO
Addresses https://github.com/mpusz/units/pull/261#discussion_r596641518.
This commit is contained in:
committed by
Mateusz Pusz
parent
9a520edfe9
commit
dd1a46cd35
@@ -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));
|
||||||
|
Reference in New Issue
Block a user