diff --git a/docs/faq.rst b/docs/faq.rst index 41295833..fa0c68a2 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -84,14 +84,14 @@ error: reference to ‘time’ is ambiguous ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unfortunately, if `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 `_ function. In such a case the library's `time` function needs to be prefixed with at least one (or all) namespace names. error: template argument 1 is invalid ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Again, usage of :expr:`using namespace units` +Again, usage of ``using namespace units`` `using-directive `_ may result in the collision between `units::exp` class template and C `exp `_ function. In such a case the library's `exp` class template needs to be prefixed with `units` namespace name.