diff --git a/lectures/11_list_implementation/list.h b/lectures/11_list_implementation/list.h index 8aed48a..e1492c1 100644 --- a/lectures/11_list_implementation/list.h +++ b/lectures/11_list_implementation/list.h @@ -1,10 +1,11 @@ template class Node { + // this is an exception in this course + // where we make the member variables of this tiny class public. public: T value; Node* next; Node* prev; - private: }; // A "forward declaration" of this class is needed