File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1924
1924
and $ E$ is the corresponding template argument.
1925
1925
\end {itemize }
1926
1926
1927
+ \tcode {T} shall not be an array type.
1927
1928
In the case of a \tcode {return} statement with no operand
1928
1929
or with an operand of type \keyword {void},
1929
1930
\tcode {T} shall be either
3143
3144
\pnum
3144
3145
\tcode {U} is called the array \defn {element type};
3145
3146
this type shall not be
3146
- a placeholder type\iref {dcl.spec.auto },
3147
3147
a reference type,
3148
3148
a function type,
3149
3149
an array of unknown bound, or
3606
3606
\indextext {function return type|see{return type}}%
3607
3607
\indextext {return type}%
3608
3608
The return type shall be a non-array object type, a reference type, or \cv {}~\keyword {void}.
3609
+ \begin {note }
3610
+ An array of placeholder type is considered an array type.
3611
+ \end {note }
3609
3612
3610
3613
\pnum
3611
3614
A volatile-qualified return type is deprecated;
You can’t perform that action at this time.
0 commit comments