diff options
Diffstat (limited to 'source/lang/cpp/void.rst')
-rw-r--r-- | source/lang/cpp/void.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/lang/cpp/void.rst b/source/lang/cpp/void.rst index 88bd448..88c9c64 100644 --- a/source/lang/cpp/void.rst +++ b/source/lang/cpp/void.rst @@ -5,10 +5,12 @@ ``void`` ======== -The ``void`` keyword is used only in function declarations. It -indicates that the function is expected to return no information to -the function from which it was called, or that it expects no arguments -from its caller. +.. cpp:type:: void + + The ``void`` keyword is used in function declarations. It indicates + that the function is expected to return no information to the + function from which it was called, or that it expects no arguments + from its caller. Example ------- |