mp_units::utility::polar_vector::polar_vector¶
Construct from polar_vector
Synopsis¶
Declared in <mp-units/utility/polar_vector.h>
template<auto RU, auto AU, typename Rep2>
requires std::constructible_from<Rep, Rep2> && requires(const quantity<RU, Rep2>& r, const quantity<AU, Rep2>& a) {
r.numerical_value_in(get_unit(RadiusRef));
a.numerical_value_in(AngleUnit);
}
[[nodiscard]] constexpr explicit(!detail::ImplicitlyConvertibleScalar<Rep2, Rep>)
polar_vector(polar_vector<RU, AU, Rep2> const& other);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| other | The object to copy construct from |