Skip to content

Commit f993805

Browse files
authored
Add blockquotes for error messages in range [C2671, C2700]
1 parent 857ae18 commit f993805

23 files changed

+23
-23
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: fc0ee40f-c8f3-408f-b89d-745d149c4169
88
---
99
# Compiler Error C2671
1010

11-
'function' : static member functions do not have 'this' pointers
11+
> 'function' : static member functions do not have 'this' pointers
1212
1313
A **`static`** member function tried to access **`this`**.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 780230c0-619b-4a78-b01d-ff5886306741
88
---
99
# Compiler Error C2673
1010

11-
'function' : global functions do not have 'this' pointers
11+
> 'function' : global functions do not have 'this' pointers
1212
1313
A global function tried to access **`this`**.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 7cbd70d8-d992-44d7-a5cb-dd8cf9c759d2
88
---
99
# Compiler Error C2674
1010

11-
a generic declaration is not allowed in this context
11+
> a generic declaration is not allowed in this context
1212
1313
A generic was declared incorrectly. For more information, see [Generics](../../extensions/generics-cpp-component-extensions.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 4b92a12b-bff8-4dd5-a109-620065fc146c
88
---
99
# Compiler Error C2675
1010

11-
unary 'operator' : 'type' does not define this operator or a conversion to a type acceptable to the predefined operator
11+
> unary 'operator' : 'type' does not define this operator or a conversion to a type acceptable to the predefined operator
1212
1313
C2675 can also occur when using a unary operator, and the type does not define the operator or a conversion to a type acceptable to the predefined operator. To use the operator, you must overload it for the specified type or define a conversion to a type for which the operator is defined.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 76bc0b65-f52a-45a6-b6d6-0555f89da9a8
88
---
99
# Compiler Error C2677
1010

11-
binary 'operator' : no global operator found which takes type 'type' (or there is no acceptable conversion)
11+
> binary 'operator' : no global operator found which takes type 'type' (or there is no acceptable conversion)
1212
1313
To use the operator, you must overload it for the specified type or define a conversion to a type for which the operator is defined.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 1f0a4e26-b429-44f5-9f94-cb66441220c8
88
---
99
# Compiler Error C2678
1010

11-
binary 'operator' : no operator defined which takes a left-hand operand of type 'type' (or there is no acceptable conversion)
11+
> binary 'operator' : no operator defined which takes a left-hand operand of type 'type' (or there is no acceptable conversion)
1212
1313
To use the operator, you must overload it for the specified type or define a conversion to a type for which the operator is defined.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 1a5f9d00-9190-4aa6-bc72-949f68ec136f
88
---
99
# Compiler Error C2679
1010

11-
binary 'operator' : no operator found which takes a right-hand operand of type 'type' (or there is no acceptable conversion)
11+
> binary 'operator' : no operator found which takes a right-hand operand of type 'type' (or there is no acceptable conversion)
1212
1313
To use the operator, you must overload it for the specified type or define a conversion to a type for which the operator is defined.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: d6f7129e-dd17-4661-b680-18d6b925b1cc
88
---
99
# Compiler Error C2680
1010

11-
'type' : invalid target type for name
11+
> 'type' : invalid target type for name
1212
1313
A casting operator tried to convert to a type that is not a pointer or reference. The [dynamic_cast](../../cpp/dynamic-cast-operator.md) operator can be used only for pointers or references.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: eb42da6d-8d2c-43fd-986b-e73e2b004885
88
---
99
# Compiler Error C2681
1010

11-
'type' : invalid expression type for name
11+
> 'type' : invalid expression type for name
1212
1313
A casting operator tried to convert from an invalid type. For example, if you use the [dynamic_cast](../../cpp/dynamic-cast-operator.md) operator to convert an expression to a pointer type, the source expression must be a pointer.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 30c6a7c4-f5f7-4fe8-81a8-c48938521ab4
88
---
99
# Compiler Error C2682
1010

11-
cannot use casting_operator to convert from 'type1' to 'type2'
11+
> cannot use casting_operator to convert from 'type1' to 'type2'
1212
1313
A casting operator tried to convert between incompatible types. For example, you cannot use the [dynamic_cast](../../cpp/dynamic-cast-operator.md) operator to convert a pointer to a reference. The **`dynamic_cast`** operator cannot be used to cast away qualifiers. All qualifiers on the types must match.
1414

0 commit comments

Comments
 (0)