Skip to content

Commit c48adf1

Browse files
authored
Add "Remarks" and "Example" headings in C2583 error reference
1 parent 3c305c3 commit c48adf1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ ms.assetid: b1c952dc-872c-47e4-9fc8-4dd72bcee6f9
1010

1111
> '*identifier*': '*const/volatile*' 'this' pointer is illegal for constructors/destructors
1212
13+
## Remarks
14+
1315
A constructor or destructor is declared **`const`** or **`volatile`**. This is not allowed.
1416

17+
## Example
18+
1519
The following sample generates C2583:
1620

1721
```cpp

0 commit comments

Comments
 (0)