Skip to content

Commit 3a3da87

Browse files
authored
Add blockquotes for error messages in range [C2651, C2670]
1 parent 25815cb commit 3a3da87

18 files changed

+18
-18
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: c3524a89-47d1-43f6-9e20-2cda15f9ae8a
88
---
99
# Compiler Error C2651
1010

11-
'data type' : left of 'operator' must be a class, struct or union
11+
> 'data type' : left of 'operator' must be a class, struct or union
1212
1313
To use a template parameter as if it is a class, specialize the class template with a class instead of an integral type.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6e3d1a90-a989-4088-8afd-dc82f6a2d66f
88
---
99
# Compiler Error C2652
1010

11-
'identifier' : illegal copy constructor: first parameter must not be an 'identifier'
11+
> 'identifier' : illegal copy constructor: first parameter must not be an 'identifier'
1212
1313
The first parameter in the copy constructor has the same type as the class, structure, or union for which it is defined. The first parameter can be a reference to the type but not the type itself.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ca7de1bd-576b-40bf-96fc-a91984827d20
88
---
99
# Compiler Error C2654
1010

11-
'identifier' : attempt to access member outside a member function
11+
> 'identifier' : attempt to access member outside a member function
1212
1313
A member is accessed in a declaration. Member data can be accessed only in member functions.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: beaefa6e-51b3-4df9-9150-960f3fbf40e0
88
---
99
# Compiler Error C2655
1010

11-
'identifier' : definition or redeclaration illegal in current scope
11+
> 'identifier' : definition or redeclaration illegal in current scope
1212
1313
An identifier can be redeclared only at global scope.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 1ec91186-0735-4904-859b-59da9af2d426
88
---
99
# Compiler Error C2656
1010

11-
'function' : function not allowed as a bit field
11+
> 'function' : function not allowed as a bit field
1212
1313
A function is declared as a member of a bit field.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: f7cf29a9-684a-4605-9469-ecfee9ba4b03
88
---
99
# Compiler Error C2657
1010

11-
'class::*' found at the start of a statement (did you forget to specify a type?)
11+
> 'class::*' found at the start of a statement (did you forget to specify a type?)
1212
1313
The line began with a pointer-to-member identifier.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 638368e8-7893-4a14-abec-13c768a9543a
88
---
99
# Compiler Error C2658
1010

11-
'member': redefinition in anonymous struct/union
11+
> 'member': redefinition in anonymous struct/union
1212
1313
Two anonymous structures or unions contained member declarations with the same identifier but with different types. Under [/Za](../../build/reference/za-ze-disable-language-extensions.md), you will also get this error for members with the same identifier and type.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: b0883600-4d27-4ca7-a931-8ca6bd48654d
88
---
99
# Compiler Error C2659
1010

11-
'operator' : function as left operand
11+
> 'operator' : function as left operand
1212
1313
A function was on the left side of the specified operator. The most common reason for this error is that the compiler has parsed the identifier on the left side of the operator as a function when the developer intended it to be a variable. For more information, see Wikipedia article [Most vexing parse](https://en.wikipedia.org/wiki/Most_vexing_parse). This example shows a function declaration and a variable definition that are easily confused:
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 2e01a1db-4f00-4df6-a04d-cb6f70a6922b
88
---
99
# Compiler Error C2660
1010

11-
'function' : function does not take number parameters
11+
> 'function' : function does not take number parameters
1212
1313
The function is called with an incorrect number of parameters.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 60021467-71cd-451b-9877-23840c69309f
88
---
99
# Compiler Error C2661
1010

11-
'function' : no overloaded function takes number parameters
11+
> 'function' : no overloaded function takes number parameters
1212
1313
Possible causes:
1414

0 commit comments

Comments
 (0)