mp_units::square¶
Synopsis¶
Declared in <mp-units/framework/unit_definitions.h>
[[nodiscard]] consteval Unit auto square(auto u);
Note
This function is a hidden friend of named_unit<Symbol, U, QS>, 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.