mp_units
::square
Computes the square power of a unit
Synopsis
Declared in
<mp-units/framework/unit.h>
[[nodiscard]] consteval
Unit
auto square(auto u);
Return Value
Unit The result of computation
Parameters
Name
Description
u
Unit being the base of the operation
Created with
MrDocs