Skip to content

Commit 29dbf3f

Browse files
committed
CWG1670 auto as conversion-type-id
Fixes NB FI-4 (C++14 CD).
1 parent 5be2c32 commit 29dbf3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/declarations.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,8 @@
18661866
\pnum
18671867
A placeholder type can appear in
18681868
the \grammarterm{decl-specifier-seq} or \grammarterm{type-specifier-seq}
1869-
in the declared return type of a function declarator that declares a function;
1869+
in the declared return type of a function declarator
1870+
that declares a function other than a conversion function\iref{class.conv.fct};
18701871
the return type of the function is
18711872
deduced from non-discarded \tcode{return} statements, if any, in the body
18721873
of the function\iref{stmt.if}.

0 commit comments

Comments
 (0)