Skip to content

Commit 812dbe0

Browse files
authored
Replace term "sample" with "example" for error references in range [C2581, C2610]
1 parent 1fcc773 commit 812dbe0

15 files changed

+15
-15
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The assignment (`=`) operator is incorrectly declared as **`static`**. Assignmen
1616

1717
## Example
1818

19-
The following sample generates C2581.
19+
The following example generates C2581.
2020

2121
```cpp
2222
// C2581.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An attempt was made to assign to an object that does not have an assignment oper
1616

1717
## Example
1818

19-
The following sample generates C2582:
19+
The following example generates C2582:
2020

2121
```cpp
2222
// C2582.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.assetid: 836e2c0a-86c0-4742-b432-beb0191ad20e
1616

1717
## Example
1818

19-
The following sample generates C2584.
19+
The following example generates C2584.
2020

2121
```cpp
2222
// C2584.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Indirection of a conversion operator is not allowed.
1616

1717
## Example
1818

19-
The following sample generates C2586:
19+
The following example generates C2586:
2020

2121
```cpp
2222
// c2586.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Local variables are not allowed as default parameters.
1616

1717
## Example
1818

19-
The following sample generates C2587:
19+
The following example generates C2587:
2020

2121
```cpp
2222
// C2587.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This error can be caused by a missing class, structure, or union name on the lef
1818

1919
## Example
2020

21-
The following sample generates C2588:
21+
The following example generates C2588:
2222

2323
```cpp
2424
// C2588.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The scope-resolution operator cannot be overloaded.
1818

1919
## Example
2020

21-
The following sample generates C2589:
21+
The following example generates C2589:
2222

2323
```cpp
2424
// C2589.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This error may be fixed if you use an explicit cast on one or more actual parame
1818

1919
## Examples
2020

21-
The following sample generates C2593:
21+
The following example generates C2593:
2222

2323
```cpp
2424
// C2593.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ No conversion from *type1* to *type2* was more direct than any other. We suggest
1616

1717
## Example
1818

19-
The following sample generates C2594. The suggested resolution to the error is a sequence of conversions:
19+
The following example generates C2594. The suggested resolution to the error is a sequence of conversions:
2020

2121
```cpp
2222
// C2594.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Possible causes:
2222

2323
## Example
2424

25-
1. The following sample generates C2597 and shows how to fix it:
25+
1. The following example generates C2597 and shows how to fix it:
2626

2727
```cpp
2828
// C2597.cpp

0 commit comments

Comments
 (0)