Returns the quantity specification of a reference
Synopsis
Declared in <mp‐units/framework/reference.h>
[[nodiscard]]
consteval
QuantitySpec auto
get_quantity_spec(reference r);
|
Note
|
This function is a hidden friend of reference, declared only inside that class: it can be found only through argument-dependent lookup. |
Return Value
the quantity specification Q
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
r |
the reference to query |
Created with MrDocs