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