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.
1 parent 8d566a0 commit c89da7cCopy full SHA for c89da7c
docs/error-messages/compiler-errors-2/compiler-error-c3550.md
@@ -19,19 +19,9 @@ The following sample generates C3550:
19
```cpp
20
// C3550.cpp
21
// compile with: /c
22
-int dummy;
23
-
24
-decltype(auto)* func1() { // C3550
25
- return &dummy;
26
-}
27
28
-decltype(auto)& func2() { // C3550
29
- return dummy;
30
31
32
-decltype(auto)&& func3() { // C3550
33
- return 123;
34
+decltype(auto)* func1(); // C3550
+decltype(auto)& func2(); // C3550
+decltype(auto)&& func3(); // C3550
35
```
36
37
To resolve the error remove all illegal qualification on `decltype(auto)`.
0 commit comments