Skip to content

Commit a97223e

Browse files
authored
Add blockquotes for error messages in range [C2791, C2820]
1 parent 528604b commit a97223e

26 files changed

+26
-26
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 938ad1fb-75d9-4ce2-ad92-83d6249005b5
88
---
99
# Compiler Error C2791
1010

11-
illegal use of 'super': 'class' does not have any base classes
11+
> illegal use of 'super': 'class' does not have any base classes
1212
1313
The keyword [super](../../cpp/super.md) was used within the context of a member function of a class that does not have any base classes.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 392cf748-4f5e-4e62-a364-3118d5658408
88
---
99
# Compiler Error C2792
1010

11-
'super' : this keyword must be followed by '::'
11+
> 'super' : this keyword must be followed by '::'
1212
1313
The only token that can follow the keyword **`__super`** is `::`.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ce35f4e8-c357-40ca-95c4-15ff001ad69d
88
---
99
# Compiler Error C2793
1010

11-
'token' : unexpected token following '::', identifier or keyword 'operator' expected
11+
> 'token' : unexpected token following '::', identifier or keyword 'operator' expected
1212
1313
The only tokens that can follow `__super::` are an identifier or the keyword **`operator`**.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: d508191c-9044-4c6a-9119-4bca668c0b93
88
---
99
# Compiler Error C2794
1010

11-
'function' : is not a member of any direct or indirect base class of 'class'
11+
> 'function' : is not a member of any direct or indirect base class of 'class'
1212
1313
You tried to use [super](../../cpp/super.md) to call a nonexistent member function.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 8cd8c7fe-2add-4871-85f7-9a6afe4ac588
88
---
99
# Compiler Error C2795
1010

11-
'super::function' is not a member function
11+
> 'super::function' is not a member function
1212
1313
This error message appears whenever you try to use [super](../../cpp/super.md) to access a member other than a member function.

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

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

10-
(Obsolete) List initialization inside member initializer list or non-static data member initializer is not implemented.
10+
> (Obsolete) List initialization inside member initializer list or non-static data member initializer is not implemented.
1111
1212
This warning is obsolete in Visual Studio 2015. In Visual Studio 2013 and earlier versions, the Microsoft C++ compiler does not implement list initialization inside either a member initializer list or a non-static data member initializer. Before Visual Studio 2013 Update 3, this was silently converted to a function call, which could lead to bad code generation. Visual Studio 2013 Update 3 reports this as an error.
1313

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: fb0cd861-b228-4f81-8090-e28344a727e0
88
---
99
# Compiler Error C2798
1010

11-
'super::member' is ambiguous
11+
> 'super::member' is ambiguous
1212
1313
Multiple inherited structures contain the member you referenced with [super](../../cpp/super.md). You could fix the error by either:
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: a2f1a590-9fe6-44cb-ad09-b4505ef47c6a
88
---
99
# Compiler Error C2800
1010

11-
'operator operator' cannot be overloaded
11+
> 'operator operator' cannot be overloaded
1212
1313
The following operators cannot be overloaded: class member access (`.`), pointer to member (`.*`), scope resolution (`::`), conditional expression (`? :`), and **`sizeof`**.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 35dfc7ea-9e37-4e30-baa1-944dc61302f5
88
---
99
# Compiler Error C2801
1010

11-
'operator operator' must be a non-static member
11+
> 'operator operator' must be a non-static member
1212
1313
The following operators can be overloaded only as nonstatic members:
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 08b68c0e-9382-40ac-8949-39a7a2749e05
88
---
99
# Compiler Error C2802
1010

11-
static member 'operator operator' has no formal parameters
11+
> static member 'operator operator' has no formal parameters
1212
1313
An operator declared by a **`static`** member function must have at least one parameter.
1414

0 commit comments

Comments
 (0)