Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3490,10 +3490,7 @@
\pnum
\indextext{function return type|see{return type}}%
\indextext{return type}%
Functions shall not have a return type of type array or function,
although they may have a return type of type pointer or reference to such things.
There shall be no arrays of functions, although there can be arrays of pointers
to functions.
The return type shall be a non-array object type, a reference type, or \cv{}~\tcode{void}.

\pnum
A volatile-qualified return type is deprecated;
Expand Down
1 change: 0 additions & 1 deletion source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2949,7 +2949,6 @@
statically chosen function (i.e., ignoring the \tcode{virtual} keyword),
even if the type of the function actually called is different.
\indextext{type!incomplete}%
This return type shall be an object type, a reference type or \cv{}~\tcode{void}.
If the \grammarterm{postfix-expression} names a pseudo-destructor
(in which case the \grammarterm{postfix-expression}
is a possibly-parenthesized class member access),
Expand Down