Returns the common unit of a single unit

Synopsis

Declared in <mp‐units/framework/reference.h>

[[nodiscard]]
consteval
Unit auto
get_common_unit(auto u);

Return Value

u unchanged

Note

The return value should not be discarded.

Parameters

Name

Description

u

the unit

Created with MrDocs