![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
CRTP base class used when defining a new relative origin, e.g. zero celsius which is relative to zero Kelvin. More...
Public Types | |
| using | base_origin = BaseOrigin |
| Type alias for the base origin to allow checking that the two origins are related. | |
| using | origin = Derived |
| Type alias used to identify downstream classes as being anchored to this origin. | |
CRTP base class used when defining a new relative origin, e.g. zero celsius which is relative to zero Kelvin.
| Derived | user-defined class publicly inheriting from this one; Derived becomes a quantity origin |
| BaseOrigin | a quantity_origin to which this will be defined as being relative |
| using arene::base::relative_origin< Derived, BaseOrigin >::base_origin = BaseOrigin |
Type alias for the base origin to allow checking that the two origins are related.
| using arene::base::relative_origin< Derived, BaseOrigin >::origin = Derived |
Type alias used to identify downstream classes as being anchored to this origin.