Skip to content

Commit

Permalink
Added clear() instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
SloCompTech committed Feb 10, 2017
1 parent 1f870ee commit a1f16d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -26,6 +26,8 @@ Items on the list can be removed:
- always check if index is in valid range before you try to clear item
*/
list.clear(index);

list.clear(); // This removes ALL items from list
```
Items on the list can accessed:
``` C++
Expand Down

0 comments on commit a1f16d7

Please sign in to comment.