A type trait that defines zero, one, min, and max for a representation type
Declared in <mp-units/framework/customization_points.h>
template<typename Rep>
struct representation_values
: std::chrono::duration_values<Rep>
The zero, one, min, and max member functions in mp_units::quantity forward their work to these methods. This type can be specialized if the representation Rep requires a specific implementation to return these quantity objects.
| Name | Description |
|---|---|
std::chrono::duration_values<Rep> |
| Name |
|---|
max |
min |
one |
zero |
| Name | Description |
|---|---|
| Rep | a representation type for which a type trait is defined |