docs(src): expand on non-allowed syntaxes

This commit is contained in:
Johel Ernesto Guerrero Peña
2021-03-18 17:22:46 -04:00
committed by Mateusz Pusz
parent ddbbb8ac55
commit 5914ae2260

View File

@@ -86,6 +86,7 @@ using reference_divide = detail::reference_divide_impl<
* @endcode
*
* `km * 3` or `s / 4` syntax is not allowed for quantity creation.
* Neither is `70 * km / h`, but `70 * (km / h)` is.
*/
template<Dimension D, UnitOf<D> U>
struct reference {