mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 05:04:27 +02:00
docs(src): expand on non-allowed syntaxes
This commit is contained in:
committed by
Mateusz Pusz
parent
ddbbb8ac55
commit
5914ae2260
@@ -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 {
|
||||
|
Reference in New Issue
Block a user