File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 797
797
each of its parameter types shall be a literal type;
798
798
799
799
\item
800
- its \grammarterm {function-body} shall be
801
- \tcode {= delete}, \tcode {= default}, or
802
- a \grammarterm {compound-statement}
803
- that does not contain
804
-
800
+ its \grammarterm {function-body} shall not contain
805
801
\begin {itemize }
806
802
\item an \grammarterm {asm-definition},
807
803
\item a \tcode {goto} statement,
808
804
\item an identifier label\iref {stmt.label },
809
- \item a \grammarterm {try-block}, or
810
805
\item a definition of a variable
811
806
of non-literal type or
812
807
of static or thread storage duration or
813
808
for which no initialization is performed.
814
809
\end {itemize }
815
-
810
+ \begin {note }
811
+ A \grammarterm {function-body} that is \tcode {= delete} or \tcode {= default}
812
+ contains none of the above.
813
+ \end {note }
816
814
\end {itemize }
817
815
818
816
\begin {example }
853
851
the class shall not have any virtual base classes;
854
852
855
853
\item
856
- each of the parameter types shall be a literal type;
857
-
858
- \item
859
- its \grammarterm {function-body} shall not be a \grammarterm {function-try-block}.
854
+ each of the parameter types shall be a literal type.
860
855
\end {itemize }
861
856
862
857
In addition, either its \grammarterm {function-body} shall be
You can’t perform that action at this time.
0 commit comments