You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Compiler error C3476 | could not open file '*filename*' for input |
95
-
| Compiler error C3477 | a lambda cannot appear in an unevaluated context |
96
-
| Compiler error C3478 | '*identifier*': an array cannot be captured by copy |
95
+
| Compiler error C3477 | a lambda can only appear in an unevaluated context with '*C++ version*' or later|
96
+
| Compiler error C3478 | '*identifier*': an array of unknown bounds cannot be captured by copy |
97
97
| Compiler error C3479 | SAL annotations on lambdas are not supported |
98
98
|[Compiler error C3480](compiler-error-c3480.md)| '*variable*': a lambda capture variable must be from an enclosing function scope |
99
99
|[Compiler error C3481](compiler-error-c3481.md)| '*identifier*': lambda capture variable not found |
@@ -103,16 +103,16 @@ The articles in this section of the documentation explain a subset of the error
103
103
|[Compiler error C3485](compiler-error-c3485.md)| a lambda definition cannot have any cv-qualifiers (Obsolete in Visual Studio 2022.) |
104
104
| Compiler error C3486 | a parameter for a lambda cannot have a default argument (Obsolete in Visual Studio 2022.) |
105
105
|[Compiler error C3487](compiler-error-c3487.md)| '*type*': all return expressions must deduce to the same type: previously it was '*type*' |
106
-
|[Compiler error C3488](compiler-error-c3488.md)| '&*identifier*' is not allowed when the default capture mode is by-reference |
107
-
|[Compiler error C3489](compiler-error-c3489.md)| '&*identifier*' is required when the default capture mode is by copy |
106
+
|[Compiler error C3488](compiler-error-c3488.md)| '`&`*identifier*' cannot be explicitly captured when the default capture mode is byreference (`&`)|
107
+
|[Compiler error C3489](compiler-error-c3489.md)| '`&`*identifier*' is required when the default capture mode is by copy (`=`)|
108
108
|[Compiler error C3490](compiler-error-c3490.md)| '*identifier*' cannot be modified because it is being accessed through a const object |
109
109
|[Compiler error C3491](compiler-error-c3491.md)| '*identifier*': a by copy capture cannot be modified in a non-mutable lambda |
110
110
|[Compiler error C3492](compiler-error-c3492.md)| '*identifier*': you cannot capture a member of an anonymous union |
111
111
|[Compiler error C3493](compiler-error-c3493.md)| '*identifier*' cannot be implicitly captured because no default capture mode has been specified |
112
112
| Compiler error C3494 | 'this' cannot be explicitly captured because an enclosing capture mode does not allow it |
113
-
|[Compiler error C3495](compiler-error-c3495.md)| '*identifier*': identifier in capture must be a variable with automatic storage duration declared in the reaching scope of the lambda |
114
-
|[Compiler error C3496](compiler-error-c3496.md)| 'this' is always captured by value: '&' ignored |
115
-
| Compiler error C3497 |you cannot construct an instance of a lambda |
113
+
|[Compiler error C3495](compiler-error-c3495.md)| '*identifier*': a simple capture must be a variable with automatic storage duration declared in the reaching scope of the lambda |
114
+
|[Compiler error C3496](compiler-error-c3496.md)| '`this`' is always captured by copy: '`&`' ignored |
115
+
| Compiler error C3497 | cannot construct an instance of this lambda |
116
116
|[Compiler error C3498](compiler-error-c3498.md)| '*identifier*': you cannot capture a variable that has a managed/WinRT type |
117
117
|[Compiler error C3499](compiler-error-c3499.md)| a lambda that has been specified to have a void return type cannot return a value |
0 commit comments