Skip to content

Commit 24d6454

Browse files
authored
Replace term "sample" with "example" for error references in range [C2791, C2820]
1 parent 3a348b3 commit 24d6454

22 files changed

+24
-24
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The keyword [super](../../cpp/super.md) was used within the context of a member
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2791.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The only token that can follow the keyword **`__super`** is `::`.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2792.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The only tokens that can follow `__super::` are an identifier or the keyword **`
1616

1717
## Example
1818

19-
The following sample generates C2793
19+
The following example generates C2793
2020

2121
```cpp
2222
// C2793.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You tried to use [super](../../cpp/super.md) to call a nonexistent member functi
1616

1717
## Example
1818

19-
The following sample generates C2794
19+
The following example generates C2794
2020

2121
```cpp
2222
// C2794.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Multiple inherited structures contain the member you referenced with [super](../
2020

2121
## Example
2222

23-
The following sample generates C2798:
23+
The following example generates C2798:
2424

2525
```cpp
2626
// C2798.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The following operators cannot be overloaded: class member access (`.`), pointer
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2800.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Possible C2801 causes:
3030

3131
## Example
3232

33-
- The following sample generates C2801:
33+
- The following example generates C2801:
3434

3535
```cpp
3636
// C2801.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An operator declared by a **`static`** member function must have at least one pa
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2802.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If both parameters are pointers it will be a pure comparison of pointer addresse
2020

2121
## Example
2222

23-
The following sample generates C2803:
23+
The following example generates C2803:
2424

2525
```cpp
2626
// C2803.cpp

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The overloaded binary operator member function is declared with more than one pa
1616

1717
## Examples
1818

19-
The following sample generates C2804 and shows how to fix it.
19+
The following example generates C2804 and shows how to fix it.
2020

2121
```cpp
2222
// C2804.cpp
@@ -33,7 +33,7 @@ int main() {
3333
}
3434
```
3535
36-
The following sample generates C2804 and shows how to fix it.
36+
The following example generates C2804 and shows how to fix it.
3737
3838
```cpp
3939
// C2804_2.cpp

0 commit comments

Comments
 (0)