Skip to content

Commit f597f8c

Browse files
authored
Replace term "sample" with "example" for error references in range [C2701, C2730]
1 parent b0a2b5c commit f597f8c

18 files changed

+19
-19
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A local class can't have a function template as a `friend` function.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2701.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An exception handler (**`__try`**/**`__except`**) cannot be nested inside a **`_
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2702.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A **`__leave`** statement must be inside a **`__try`** block.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2703.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Execution jumps to a label within a **`try`**/**`catch`**, **`__try`**/**`__exce
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2705.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The compiler did not find a closing brace for a **`__try`** block.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2706.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To resolve the error, be sure that the exception-handling intrinsics are placed
2424

2525
## Example
2626

27-
The following sample generates C2707.
27+
The following example generates C2707.
2828

2929
```cpp
3030
// C2707.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A function whose return value is a pointer is the only construct to which `modif
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2710.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Some instructions will prevent the compiler from generating MSIL for the enclosi
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2711.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The **`/clr:pure`** and **`/clr:safe`** compiler options are deprecated in Visua
3030

3131
## Example
3232

33-
The following sample generates C2712 and shows how to fix it.
33+
The following example generates C2712 and shows how to fix it.
3434

3535
```cpp
3636
// C2712.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ See [`alignof` operator](../../cpp/alignof-operator.md) for more information.
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2714.cpp

0 commit comments

Comments
 (0)