-
Notifications
You must be signed in to change notification settings - Fork 1
type_function get_dimension
Andy Little edited this page Jul 8, 2020
·
10 revisions
| 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 |