# | Line 25 | Line 25 | public: | |
---|---|---|
25 | void removeFirst(const Type& value) { front.remove(value, &back); } | |
26 | void removeLast(const Type& value) { back.remove(value, &front, false); } | |
27 | Iterator<Type> iterator(void) { return Iterator<Type>(&front, &back); } | |
28 | + | void accept(Visitor<Type>* visitor) { front.accept(visitor, &back); } |
29 | }; | |
30 | ||
31 | #endif // _DoublyLinkedList_hpp_ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |