Skip to content

Commit 6de1f17

Browse files
authored
Merge pull request MicrosoftDocs#2056 from KomarDL/patch-1
Fix push_back prototypes
2 parents c7b42d7 + 709f158 commit 6de1f17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/standard-library/list-class.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1589,7 +1589,8 @@ After deleting the element at the beginning of the list, the first element is: 2
15891589
Adds an element to the end of a list.
15901590

15911591
```cpp
1592-
void push_back(void push_back(Type&& val);
1592+
void push_back(const Type& val);
1593+
void push_back(Type&& val);
15931594
```
15941595
15951596
### Parameters

0 commit comments

Comments
 (0)