Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The exported identifier is **`static`**.

## Example

The following example generates C2286, and shows how to fix it:
The following example generates C2201, and shows how to fix it:

```cpp
// C2201.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The derived class inherits more than one override of a virtual function of a vir

## Example

The following example generates C2286:
The following example generates C2250:

```cpp
// C2250.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A constructor returns a value or redefines the class name.

## Example

The following example generates C2326:
The following example generates C2380:

```cpp
// C2380.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The **`friend`** declaration includes a complete class declaration. A **`friend`

## Example

The following example generates C2326:
The following example generates C2391:

```cpp
// C2391.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This error can be caused by a semicolon between a function header and the openin

## Example

The following example generates C2499:
The following example generates C2449:

```c
// C2449.c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The first parameter in the copy constructor has the same type as the class, stru

## Example

The following example generates C2651:
The following example generates C2652:

```cpp
// C2652.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The compiler encountered an invalid type.

## Example

The following example generates C3229:
The following example generates C3239:

```cpp
// C3239.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public ref class GR {};
public ref class GR2 {};
```

The following example generates C3466.
The following example generates C3469.

```cpp
// C3469_b.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A default template argument was specified in an incorrect location and was ignor

## Example

This example generates C4545, and the next example shows how to fix it:
This example generates C4544, and the next example shows how to fix it:

```cpp
// C4544.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ helpviewer_keywords: ["C4580"]

## Example

The following example generates C3454 and shows how to fix it.
The following example generates C4580 and shows how to fix it.

```cpp
// C4580.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ helpviewer_keywords: ["D9043"]

## Example

The following example generates C9043.
The following example generates D9043.

```cpp
// D9043.cpp
Expand Down