mp_units::utility::project¶
Synopsis¶
Declared in <mp-units/utility/cartesian_vector.h>
template<typename T>
[[nodiscard]] constexpr mp_units::utility::cartesian_vector<T, 2> project(cartesian_vector<T, 3> const& v);
Note
This function is a hidden friend of cartesian_vector, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.
Return Value¶
Note
The return value should not be discarded.