mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
fix: numerical_value_ref_in
name fixed for this deduction in quantity
This commit is contained in:
@@ -145,7 +145,7 @@ public:
|
||||
#ifdef __cpp_explicit_this_parameter
|
||||
template<typename Self, Unit U>
|
||||
requires(U{} == unit)
|
||||
[[nodiscard]] constexpr auto&& value_ref_in(this Self&& self, U) noexcept
|
||||
[[nodiscard]] constexpr auto&& numerical_value_ref_in(this Self&& self, U) noexcept
|
||||
{
|
||||
return std::forward<Self>(self).value_;
|
||||
}
|
||||
|
Reference in New Issue
Block a user