File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 635
635
A closure object behaves like a function
636
636
object~(\ref {function.objects }).\end {note }
637
637
638
+ \pnum
639
+ In the \grammarterm {decl-specifier-seq} of the \grammarterm {lambda-declarator},
640
+ each \grammarterm {decl-specifier}
641
+ shall either be \tcode {mutable} or \tcode {constexpr}.
642
+
638
643
\pnum
639
644
If a \grammarterm {lambda-expression} does not include a
640
645
\grammarterm {lambda-declarator}, it is as if the \grammarterm {lambda-declarator} were
727
732
\end {example }
728
733
729
734
\pnum
730
- In the \grammarterm {decl-specifier-seq} of the \grammarterm {lambda-declarator},
731
- each \grammarterm {decl-specifier}
732
- shall either be \tcode {mutable} or \tcode {constexpr}.
733
735
The function call operator or operator template is declared
734
736
\tcode {const}~(\ref {class.mfct.non-static }) if and only if the
735
737
\grammarterm {lambda-expression}'s \grammarterm {parameter-declaration-clause} is not
You can’t perform that action at this time.
0 commit comments