mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Usefulified C++ code example
This commit is contained in:
@@ -455,9 +455,9 @@ The following directives are available:
|
||||
Describe a C++ object. Full signature specification is supported -- give the
|
||||
signature as you would in the declaration. Example::
|
||||
|
||||
.. cpp:function:: const int IntArray::operator[]
|
||||
.. cpp:function:: const T &Array<T>::operator[]() const
|
||||
|
||||
Describes the indexing operator of IntArrays.
|
||||
Describes the constant indexing operator of a templated array.
|
||||
|
||||
.. rst:directive:: .. cpp:namespace:: namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user