Skip to content

Commit 1fd9c96

Browse files
authored
Replace term "sample" with "example" for error references in range [C2121, C2140]
1 parent cf0fb9b commit 1fd9c96

10 files changed

+10
-10
lines changed

docs/error-messages/compiler-errors-1/compiler-error-c2124.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A constant expression has a zero denominator. To resolve the error, do not divid
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2124.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2128.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ helpviewer_keywords: ["C2128"]
1515

1616
## Example
1717

18-
The following sample generates C2128:
18+
The following example generates C2128:
1919

2020
```cpp
2121
// C2128.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2129.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A **`static`** function must be defined within file scope. If the function is de
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2129.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2130.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The optional file name token following [#line](../../preprocessor/hash-line-dire
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2130.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2133.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An unsized array is declared as a member of a class, structure, union, or enumer
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2133.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2134.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A function declared as constexpr can only call other functions declared as const
1515

1616
## Example
1717

18-
The following sample generates C2134:
18+
The following example generates C2134:
1919

2020
```cpp
2121
// C2134.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2135.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The address-of operator (`&`) cannot be applied to a bit field.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2135.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2137.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The empty character constant ( ' ' ) is not permitted.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2137.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2139.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For more information, see [Compiler Support for Type Traits](../../extensions/co
1717

1818
## Example
1919

20-
The following sample generates C2139.
20+
The following example generates C2139.
2121

2222
```cpp
2323
// C2139.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2140.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For more information, see [Compiler Support for Type Traits](../../extensions/co
1818

1919
## Example
2020

21-
The following sample generates C2140.
21+
The following example generates C2140.
2222

2323
```cpp
2424
// C2140.cpp

0 commit comments

Comments
 (0)