Skip to content

Commit 22fad92

Browse files
authored
Add "Remarks" and "Example" headings for error references in range [CXX0035, CXX0072]
1 parent 8cdb0e3 commit 22fad92

33 files changed

+66
-0
lines changed

docs/error-messages/tool-errors/expression-evaluator-error-cxx0036.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 383404be-df5b-4eec-b113-df21bb5d269d
1010

1111
> bad context {...} specification
1212
13+
## Remarks
14+
1315
This message can be generated by any of several errors in the use of the context operator (**{}**).
1416

1517
- The syntax of the context operator (**{}**) was given incorrectly.

docs/error-messages/tool-errors/expression-evaluator-error-cxx0037.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 8059ad65-78b7-465a-98fa-387fd5873ea6
1010

1111
> out of memory
1212
13+
## Remarks
14+
1315
The C expression evaluator ran out of memory evaluating the expression.
1416

1517
This error is identical to CAN0037.

docs/error-messages/tool-errors/expression-evaluator-error-cxx0038.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 3327dc4e-1726-4924-a519-6ffd766a389c
1010

1111
> function argument count and/or type mismatch
1212
13+
## Remarks
14+
1315
The function call as specified does not match the prototype for the function.
1416

1517
Retype the call with the correct number of arguments. Type cast each argument to match the prototype, as necessary.

docs/error-messages/tool-errors/expression-evaluator-error-cxx0039.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 8bf698d2-e015-4595-944f-72b81aa43d22
1010

1111
> symbol is ambiguous
1212
13+
## Remarks
14+
1315
The C expression evaluator cannot determine which instance of a symbol to use in an expression. The symbol occurs more than once in the inheritance tree.
1416

1517
You must use the scope resolution operator (`::`) to explicitly specify the instance to use in the expression.

docs/error-messages/tool-errors/expression-evaluator-error-cxx0040.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 1914e605-d80b-4abc-9e8f-dbcbefec095b
1010

1111
> function requires implicit conversion
1212
13+
## Remarks
14+
1315
The C expression evaluator does not support implicit conversions involving constructor calls.
1416

1517
This error is identical to CAN0040.

docs/error-messages/tool-errors/expression-evaluator-error-cxx0041.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: ce8a2366-758f-481b-8c03-ed7d779091b2
1010

1111
> class element must be static member or member function
1212
13+
## Remarks
14+
1315
A nonstatic member of a class (or structure or union) was used without specifying which instantiation of the class to use.
1416

1517
Only static data members or member functions can be used without specifying an instantiation.

docs/error-messages/tool-errors/expression-evaluator-error-cxx0043.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 5e5d55bb-0f3e-40e6-b3c3-d0dfb701a65c
1010

1111
> this pointer used outside member function
1212
13+
## Remarks
14+
1315
The **`this`** pointer can only be used for nonstatic member functions.
1416

1517
This error is identical to CAN0043.

docs/error-messages/tool-errors/expression-evaluator-error-cxx0044.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: d59868b5-c1ec-46ac-91d6-5d575a4d6b49
1010

1111
> use of _based(void) pointer requires :> operator
1212
13+
## Remarks
14+
1315
A pointer based on **`void`** cannot be used directly. You must form a complete pointer using the **:>** operator.
1416

1517
This error is identical to CAN0044.

docs/error-messages/tool-errors/expression-evaluator-error-cxx0045.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 32181bc8-e79c-4ad7-a82f-47c62ec06d7d
1010

1111
> not a function
1212
13+
## Remarks
14+
1315
An argument list was supplied for a symbol in the program that is not the name of a function.
1416

1517
## Example

docs/error-messages/tool-errors/expression-evaluator-error-cxx0046.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: a76e657b-c018-415b-b426-ce9e72eb645d
1010

1111
> argument list required for member function
1212
13+
## Remarks
14+
1315
An expression called a member function but did not specify any actual parameters.
1416

1517
This error is identical to CAN0046.

0 commit comments

Comments
 (0)