Some cleanup to avoid using the std:: namespace

This commit is contained in:
Andy Neebel
2017-09-28 13:43:46 -05:00
parent 447c54ae92
commit 3a0c050af0
3 changed files with 10 additions and 1 deletions

View File

@@ -5,4 +5,4 @@ test-ext-intersphinx-cppdomain
:cpp:class:`Bar`
.. cpp:function:: std::uint8_t FooBarBaz()
.. cpp:function:: foons::bartype FooBarBaz()

View File

@@ -232,6 +232,13 @@ def test_missing_reference_cppdomain(tempdir, app, status, warning):
' href="https://docs.python.org/index.html#cpp_foo_bar"'
' title="(in foo v2.0)"><code class="xref cpp cpp-class docutils literal">'
'<span class="pre">Bar</span></code></a>' in html)
assert ('<a class="reference external"'
' href="https://docs.python.org/index.html#foons"'
' title="(in foo v2.0)">foons</a>' in html)
assert ('<a class="reference external"'
' href="https://docs.python.org/index.html#foons_bartype"'
' title="(in foo v2.0)">bartype</a>' in html)
def test_missing_reference_jsdomain(tempdir, app, status, warning):

View File

@@ -38,6 +38,8 @@ std cpp:type 1 index.html#std -
std::uint8_t cpp:type 1 index.html#std_uint8_t -
foo::Bar cpp:class 1 index.html#cpp_foo_bar -
foo::Bar::baz cpp:function 1 index.html#cpp_foo_bar_baz -
foons cpp:type 1 index.html#foons -
foons::bartype cpp:type 1 index.html#foons_bartype -
a term std:term -1 glossary.html#term-a-term -
ls.-l std:cmdoption 1 index.html#cmdoption-ls-l -
docname std:doc -1 docname.html -