Skip to content

Commit 473f8b1

Browse files
authored
Add "Remarks" and "Example" headings in C2556 error reference
1 parent 26f2473 commit 473f8b1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ ms.assetid: fc4399ad-45b3-49fd-be1f-0b13956a595a
1010

1111
> '*function1*': overloaded function differs only by return type from '*function2*'
1212
13+
## Remarks
14+
1315
The overloaded functions have different return types but the same parameter list. Each overloaded function must have a distinct formal parameter list.
1416

15-
The following sample generates C2556:
17+
## Example
18+
19+
The following example generates C2556:
1620

1721
```cpp
1822
// C2556.cpp

0 commit comments

Comments
 (0)