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 f9a84c3 commit ac52ba1Copy full SHA for ac52ba1
docs/error-messages/compiler-errors-2/compiler-error-c2998.md
@@ -11,11 +11,3 @@ ms.assetid: 8193d491-b5d9-4477-acb1-cf166889c070
11
> '*identifier*': cannot be a template definition
12
13
The compiler could not process the syntax used in the template definition.
14
-
15
-The following sample generates C2998:
16
17
-```cpp
18
-// C2998.cpp
19
-// compile with: /c
20
-template <class T> int x = 1018; // C2998
21
-```
0 commit comments