Skip to content

Commit ba99027

Browse files
authored
Add blockquotes for error messages in range [C2761, C2790]
1 parent d54db33 commit ba99027

25 files changed

+25
-25
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 38c79a05-b56d-485b-820f-95e8c0cb926f
88
---
99
# Compiler Error C2761
1010

11-
'function' : member function redeclaration not allowed
11+
> 'function' : member function redeclaration not allowed
1212
1313
You cannot redeclare a member function. You can define it, but not redeclare it.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 8b81a801-fd48-40a1-8bee-0748795b12e4
88
---
99
# Compiler Error C2762
1010

11-
'class' : invalid expression as a template argument for 'argument'
11+
> 'class' : invalid expression as a template argument for 'argument'
1212
1313
When using [/Za](../../build/reference/za-ze-disable-language-extensions.md), the compiler will not convert an integral to a pointer.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 3754f5af-e094-4425-be20-d0c9a9b5baec
88
---
99
# Compiler Error C2764
1010

11-
'param' : template parameter not used or deducible in partial specialization 'specialization'
11+
> 'param' : template parameter not used or deducible in partial specialization 'specialization'
1212
1313
A template parameter is not used in a partial specialization. This makes the partial specialization unusable because the template parameter cannot be deduced.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ helpviewer_keywords: ["C2765"]
77
---
88
# Compiler Error C2765
99

10-
'function' : an explicit specialization of a function template cannot have any default arguments
10+
> 'function' : an explicit specialization of a function template cannot have any default arguments
1111
1212
Default arguments are not allowed on an explicit specialization of a function template. For more information, see [Explicit Specialization of Function Templates](../../cpp/explicit-specialization-of-function-templates.md).
1313

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 8032f4ca-6827-4f04-9c61-c44643c85cc4
88
---
99
# Compiler Error C2766
1010

11-
explicit specialization; 'specialization' has already been defined
11+
> explicit specialization; 'specialization' has already been defined
1212
1313
Duplicate explicit specializations are not allowed. For more information, see [Explicit Specialization of Function Templates](../../cpp/explicit-specialization-of-function-templates.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: e8f84178-a160-4d71-a236-07e4fcc11e96
88
---
99
# Compiler Error C2767
1010

11-
managed or WinRTarray dimension mismatch : expected N argument(s) - M provided
11+
> managed or WinRTarray dimension mismatch : expected N argument(s) - M provided
1212
1313
A managed or WinRT array declaration was ill formed. For more information, see [array](../../extensions/arrays-cpp-component-extensions.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 100001b5-80b0-4971-8ff6-9023f443c926
88
---
99
# Compiler Error C2770
1010

11-
invalid explicit template_or_generic argument(s) for 'template'
11+
> invalid explicit template_or_generic argument(s) for 'template'
1212
1313
Function template candidates with explicit template or generic arguments resulted in disallowed function types.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: b649cc9f-7cbc-4b42-a5e8-51dad5c55e4b
88
---
99
# Compiler Error C2771
1010

11-
\#import only permitted at global or namespace scope
11+
> #import only permitted at global or namespace scope
1212
1313
The `#import` directive is not allowed in, for example, a function or structure.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 8d564b26-1623-4d92-aabc-dff33f7b1145
88
---
99
# Compiler Error C2773
1010

11-
\#import and #using available only in C++ compiler
11+
> #import and #using available only in C++ compiler
1212
1313
The C compiler does not recognize the `#import` preprocessor directive. Compile the source as C++. Use [/TP](../../build/reference/tc-tp-tc-tp-specify-source-file-type.md) if necessary.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 10f428c6-7f49-489a-92ba-6ef978b7caaf
88
---
99
# Compiler Error C2774
1010

11-
'identifier' : no 'put' method is associated with this property
11+
> 'identifier' : no 'put' method is associated with this property
1212
1313
A data member declared with [property](../../cpp/property-cpp.md) has no `put` function, but an expression tries to set its value.
1414

0 commit comments

Comments
 (0)