diff --git a/doc/DESIGN.md b/doc/DESIGN.md index d3b38465..60f96d72 100644 --- a/doc/DESIGN.md +++ b/doc/DESIGN.md @@ -244,11 +244,11 @@ concept Quantity = detail::is_quantity; // exposition only ``` -`units::quantity` provides the interface really similar to `std::chrono::duration` with additional -member types and functions as below: +`units::quantity` provides the interface really similar to `std::chrono::duration`. The difference is that +it uses `double` as a default representation and has a few additional member types and functions as below: ```cpp -template +template class quantity { public: using unit = U; @@ -278,6 +278,8 @@ public: (ratio_divide::den == 1)) [[nodiscard]] constexpr Quantity operator/(const quantity& lhs, const quantity& rhs); + + // ... }; ```