We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 059d937 + 8a49244 commit 2bb20f8Copy full SHA for 2bb20f8
docs/error-messages/compiler-errors-1/compiler-error-c2082.md
@@ -16,8 +16,11 @@ The following sample generates C2082:
16
17
```cpp
18
// C2082.cpp
19
-void func(int i) {
20
- int i; // C2082
21
- int ii; // OK
+void func(int num1) {
+ int num1; // C2082
+ int num2; // OK
22
+
23
+ auto lambda1 = [](int num1){ int num1; }; // C2082
24
+ auto lambda2 = [](int num1){ int num2; }; // OK
25
}
26
```
0 commit comments