docs: rephrase 'unit constant' to 'quantity reference'

This commit is contained in:
Johel Ernesto Guerrero Peña
2021-03-18 14:21:37 -04:00
committed by Mateusz Pusz
parent 0c09871bca
commit 6d9abe97e5

View File

@@ -53,9 +53,9 @@ using reference_divide = detail::reference_divide_impl<
typename R1::dimension, typename R1::unit, typename R2::dimension, typename R2::unit>; typename R1::dimension, typename R1::unit, typename R2::dimension, typename R2::unit>;
/** /**
* @brief The type for unit constants * @brief The type for quantity references
* *
* This type is intended to be used in the unit constants definition: * This type is intended to be used in the quantity references definition:
* *
* @code{.cpp} * @code{.cpp}
* namespace references { * namespace references {
@@ -66,7 +66,7 @@ using reference_divide = detail::reference_divide_impl<
* } * }
* @endcode * @endcode
* *
* Unit constants simplify quantity creation: * Quantity references simplify quantity creation:
* *
* @code{.cpp} * @code{.cpp}
* using namespace units::isq::si::references; * using namespace units::isq::si::references;
@@ -75,7 +75,7 @@ using reference_divide = detail::reference_divide_impl<
* auto v = 70 * km / h; * auto v = 70 * km / h;
* @endcode * @endcode
* *
* Also, it is allowed to define custom unit constants from existing ones: * Also, it is allowed to define custom quantity references from existing ones:
* *
* @code{.cpp} * @code{.cpp}
* constexpr auto Nm = N * m; * constexpr auto Nm = N * m;