mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
38 lines
692 B
ReStructuredText
38 lines
692 B
ReStructuredText
test-domain-cpp
|
|
===============
|
|
|
|
directives
|
|
----------
|
|
|
|
.. cpp:class:: public Sphinx
|
|
|
|
The description of Sphinx class.
|
|
|
|
.. cpp:function:: int hello(char *name)
|
|
|
|
The description of hello function.
|
|
|
|
.. cpp:member:: float Sphinx::version
|
|
|
|
The description of Sphinx::version.
|
|
|
|
.. cpp:var:: int version
|
|
|
|
The description of version.
|
|
|
|
.. cpp:type:: std::vector<int> List
|
|
|
|
The description of List type.
|
|
|
|
.. cpp:enum:: MyEnum
|
|
|
|
An unscoped enum.
|
|
|
|
.. cpp:enum-class:: MyScopedEnum
|
|
|
|
A scoped enum.
|
|
|
|
.. cpp:enum-struct:: protected MyScopedVisibilityEnum : std::underlying_type<MySpecificEnum>::type
|
|
|
|
A scoped enum with non-default visibility, and with a specified underlying type.
|