From 841c1874da647257fd876cd4897bea8b8bdbb574 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Fri, 7 Feb 2025 13:03:03 -0500 Subject: [PATCH] remove enroll example --- lectures/09_iterators_linked_lists/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lectures/09_iterators_linked_lists/README.md b/lectures/09_iterators_linked_lists/README.md index 5aae825..b186957 100644 --- a/lectures/09_iterators_linked_lists/README.md +++ b/lectures/09_iterators_linked_lists/README.md @@ -81,8 +81,7 @@ next or previous element of any container. - Iterators can be compared using the == and != operators. - Iterators can be assigned, just like any other variable. - Vector iterators have several additional operations: - - Integer values may be added to them or subtracted from them. This leads to statements like -enrolled.erase(enrolled.begin() + 5); + - Integer values may be added to them or subtracted from them. - Vector iterators may be compared using operators like <, <=, etc. - For most containers (other than vectors), these “random access” iterator operations are not legal and therefore prevented by the compiler. The reasons will become clear as we look at their implementations.