mp_units::utility::cartesian_vector::cartesian_vector¶
Construct from cartesian_vector
Synopsis¶
Declared in <mp-units/utility/cartesian_vector.h>
template<typename U>
requires std::constructible_from<T, U>
[[nodiscard]] constexpr explicit(!detail::ImplicitlyConvertibleScalar<U, T>)
cartesian_vector(cartesian_vector<U, N> const& other);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| other | The object to copy construct from |