Skip to content

Commit ac52ba1

Browse files
authored
Remove outdated example in C2998 error reference
1 parent f9a84c3 commit ac52ba1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

docs/error-messages/compiler-errors-2/compiler-error-c2998.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,3 @@ ms.assetid: 8193d491-b5d9-4477-acb1-cf166889c070
1111
> '*identifier*': cannot be a template definition
1212
1313
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

Comments
 (0)