From 8202884d3469dc635b5f495be5fcaa695cfc77f8 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Tue, 13 Feb 2024 13:20:33 -0500 Subject: [PATCH] adding the comment --- lectures/11_list_implementation/list.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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