type_function get_dimension - kwikius/pqs GitHub Wiki
| Home | Concepts | TypeTemplates | Types | TypeFunctions | InlineConstants |
returns the dimension attribute of an entity.
type | model of | notes |
---|---|---|
Q | unspecified | type with a dimension attribute |
A | dimensionless_quantity | |
X | unspecified | type with no dimension attribute |
D | dimension |
type_function | result | notes |
---|---|---|
get_dimension< Q > | D | |
get_dimension< A > | dimensionless | |
get_dimension< X > | undefined |