From 64edac75a738f8d79638708bf4e276f9349d08db Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 10 Aug 2021 14:37:03 +0200 Subject: [PATCH] docs: "Quantity References" chapter fixed --- docs/framework/quantities.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/framework/quantities.rst b/docs/framework/quantities.rst index ea880ac2..9ad71b36 100644 --- a/docs/framework/quantities.rst +++ b/docs/framework/quantities.rst @@ -121,13 +121,19 @@ They are defined using the `reference` class template:: namespace length_references { inline constexpr auto km = reference{}; - inline constexpr auto h = reference{}; } // namespace length_references + namespace time_references { + + inline constexpr auto h = reference{}; + + } // namespace time_references + namespace references { using namespace length_references; + using namespace time_references; } // namespace references