mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +02:00
Sphinx epxression parsing errors fixed
This commit is contained in:
@ -84,14 +84,14 @@ error: reference to ‘time’ is ambiguous
|
|||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Unfortunately, if `using-directives <https://en.cppreference.com/w/cpp/language/namespace#Using-directives>`_
|
Unfortunately, if `using-directives <https://en.cppreference.com/w/cpp/language/namespace#Using-directives>`_
|
||||||
(i.e. :expr:`using namespace units::physical::si`) are being used, `units::physical::si::time` will
|
(i.e. ``using namespace units::physical::si``) are being used, `units::physical::si::time` will
|
||||||
collide with C `time <https://en.cppreference.com/w/c/chrono/time>`_ function. In such a case the library's
|
collide with C `time <https://en.cppreference.com/w/c/chrono/time>`_ function. In such a case the library's
|
||||||
`time` function needs to be prefixed with at least one (or all) namespace names.
|
`time` function needs to be prefixed with at least one (or all) namespace names.
|
||||||
|
|
||||||
error: template argument 1 is invalid
|
error: template argument 1 is invalid
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Again, usage of :expr:`using namespace units`
|
Again, usage of ``using namespace units``
|
||||||
`using-directive <https://en.cppreference.com/w/cpp/language/namespace#Using-directives>`_ may result in
|
`using-directive <https://en.cppreference.com/w/cpp/language/namespace#Using-directives>`_ may result in
|
||||||
the collision between `units::exp` class template and C `exp <https://en.cppreference.com/w/c/numeric/math/exp>`_
|
the collision between `units::exp` class template and C `exp <https://en.cppreference.com/w/c/numeric/math/exp>`_
|
||||||
function. In such a case the library's `exp` class template needs to be prefixed with `units` namespace name.
|
function. In such a case the library's `exp` class template needs to be prefixed with `units` namespace name.
|
||||||
|
Reference in New Issue
Block a user