diff --git a/README.md b/README.md index 3530125d..72d2f0b9 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ the below example for a quick preview of basic library features: #include #include #include +#include #include using namespace units::physical; diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index b03c2b59..667bf07d 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,7 @@ - **0.7.0 WIP** - (!) refactor: `ScalableNumber` renamed to `QuantityValue` + - (!) refactor: Output stream operators moved to the `units/quantity_io.h` header file - refactor: basic concepts, `quantity` and `quantity_cast` refactored - refactor: `abs()` definition refactored to be more explicit about the return type - feat: interoperability with `std::chrono::duration` and other units libraries diff --git a/docs/framework/text_output.rst b/docs/framework/text_output.rst index e6c98a96..9172d21b 100644 --- a/docs/framework/text_output.rst +++ b/docs/framework/text_output.rst @@ -13,6 +13,11 @@ also tries really hard to print any quantity in the most user friendly way. Output Streams -------------- +.. tip:: + + The streaming support is provided via the ```` header + file. + The easiest way to print a quantity is to provide its object to the output stream:: diff --git a/docs/quick_start.rst b/docs/quick_start.rst index dd8571c4..351f6c30 100644 --- a/docs/quick_start.rst +++ b/docs/quick_start.rst @@ -40,6 +40,7 @@ of basic library features:: #include #include #include + #include #include using namespace units::physical;