Skip to content

Commit 7091e9a

Browse files
authored
Replace term "sample" with "example" for error references in range [C2981, C3010]
1 parent 4e657a0 commit 7091e9a

16 files changed

+17
-17
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The class generic or template redefines a non-template or non-generic class. Che
1616

1717
## Examples
1818

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

2121
```cpp
2222
// C2989.cpp

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The non generic or template class redefines a generic or template class. Check h
1616

1717
## Examples
1818

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

2121
```cpp
2222
// C2990.cpp
@@ -39,7 +39,7 @@ ref struct GC {}; // C2990
3939
4040
C2990 can also occur due to a breaking change in the Microsoft C++ compiler for Visual Studio 2005; the compiler now requires that multiple declarations for the same type be identical with respect to template specification.
4141
42-
The following sample generates C2990:
42+
The following example generates C2990:
4343
4444
```cpp
4545
// C2990c.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ There was a type conflict between two generic or template definitions of `parame
1616

1717
## Examples
1818

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

2121
```cpp
2222
// C2991.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The class is preceded by a **`template`** or **generic** keyword with missing or
1616

1717
## Examples
1818

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

2121
```cpp
2222
// C2992.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ helpviewer_keywords: ["C2993"]
1616

1717
## Examples
1818

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

2121
```cpp
2222
// compile with: /c and /std:c++17

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Make sure that there is only one definition for each member function of a templa
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2995.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `omp` pragma must be followed by a directive.
1616

1717
## Example
1818

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

2121
```c
2222
// C3001.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Multiple directive names are not allowed.
1616

1717
## Example
1818

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

2121
```c
2222
// C3002.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An OpenMP directive name cannot follow an OpenMP directive clause.
1616

1717
## Example
1818

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

2121
```c
2222
// C3003.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An OpenMP clause was used on a directive for which it is not enabled.
1616

1717
## Example
1818

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

2121
```c
2222
// C3004.c

0 commit comments

Comments
 (0)