A type trait that defines zero, one, min, and max for a representation type

Synopsis

Declared in <mp‐units/framework/customization_points.h>

template<typename Rep>
struct representation_values
    : std::chrono::duration_values<Rep>

Description

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.

Base Classes

Name Description

std::chrono::duration_values<Rep>

Static Member Functions

Name

one

Template Parameters

Name Description

Rep

a representation type for which a type trait is defined

Created with MrDocs