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 ea47086 + 5bdc1c7 commit 032e1eeCopy full SHA for 032e1ee
docs/error-messages/compiler-errors-2/compiler-error-c2735.md
@@ -1,13 +1,13 @@
1
---
2
title: "Compiler Error C2735"
3
description: "Learn more about: Compiler Error C2735"
4
-ms.date: 11/04/2016
+ms.date: 09/12/2025
5
f1_keywords: ["C2735"]
6
helpviewer_keywords: ["C2735"]
7
8
# Compiler Error C2735
9
10
-> 'keyword' keyword is not permitted in formal parameter type specifier
+> '*keyword*' keyword is not permitted in formal parameter type specifier
11
12
## Remarks
13
@@ -19,5 +19,7 @@ The following example generates C2735:
19
20
```cpp
21
// C2735.cpp
22
-void f(inline int){} // C2735
+// compile with: /c
23
+
24
+void func(virtual int) {} // C2735
25
```
0 commit comments