Skip to content

Commit 9099637

Browse files
authored
Replace term "sample" with "example" for error references in range [C2761, C2790]
1 parent 8cc9edd commit 9099637

24 files changed

+25
-25
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You cannot redeclare a member function. You can define it, but not redeclare it.
1616

1717
## Examples
1818

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

2121
```cpp
2222
// C2761.cpp
@@ -29,7 +29,7 @@ void a::a; // C2761
2929
void a::test; // C2761
3030
```
3131
32-
Nonstatic members of a class or structure cannot be defined. The following sample generates C2761.
32+
Nonstatic members of a class or structure cannot be defined. The following example generates C2761.
3333
3434
```cpp
3535
// C2761_b.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ When using [/Za](../../build/reference/za-ze-disable-language-extensions.md), th
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2762.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A template parameter is not used in a partial specialization. This makes the par
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2764.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Default arguments are not allowed on an explicit specialization of a function te
1515

1616
## Example
1717

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

2020
```cpp
2121
// C2765.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Duplicate explicit specializations are not allowed. For more information, see [E
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2766.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A managed or WinRT array declaration was ill formed. For more information, see [
1616

1717
## Example
1818

19-
The following sample generates C2767 and shows how to fix it:
19+
The following example generates C2767 and shows how to fix it:
2020

2121
```cpp
2222
// C2767.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This error was introduced in Visual Studio .NET 2003, as part of the compiler co
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2768.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Function template candidates with explicit template or generic arguments resulte
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2770.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A data member declared with [property](../../cpp/property-cpp.md) has no `put` f
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2774.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A data member declared with the [property](../../cpp/property-cpp.md) extended a
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2775.cpp

0 commit comments

Comments
 (0)