mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
remove extra colons in C++ domain examples
This commit is contained in:
@@ -545,10 +545,10 @@ a visibility statement (``public``, ``private`` or ``protected``).
|
||||
|
||||
Full and partial template specialisations can be declared::
|
||||
|
||||
.. cpp::class:: template<> \
|
||||
.. cpp:class:: template<> \
|
||||
std::array<bool, 256>
|
||||
|
||||
.. cpp::class:: template<typename T> \
|
||||
.. cpp:class:: template<typename T> \
|
||||
std::array<T, 42>
|
||||
|
||||
|
||||
@@ -680,9 +680,9 @@ a visibility statement (``public``, ``private`` or ``protected``).
|
||||
|
||||
Describe an enumerator, optionally with its value defined, e.g.,::
|
||||
|
||||
.. cpp::enumerator:: MyEnum::myEnumerator
|
||||
.. cpp:enumerator:: MyEnum::myEnumerator
|
||||
|
||||
.. cpp::enumerator:: MyEnum::myOtherEnumerator = 42
|
||||
.. cpp:enumerator:: MyEnum::myOtherEnumerator = 42
|
||||
|
||||
|
||||
Namespacing
|
||||
|
||||
Reference in New Issue
Block a user