remove the handout version

This commit is contained in:
Jidong Xiao
2023-10-06 13:44:56 -04:00
parent a838530abe
commit 6e31ccccbf
2 changed files with 2 additions and 245 deletions

View File

@@ -7,6 +7,7 @@ class Node {
private:
};
// A "forward declaration" of this class is needed
template <class T> class dslist;
template <class T>
@@ -48,6 +49,7 @@ class list_iterator {
return (this->ptr != other.ptr);
}
// the dslist class needs access to the private ptr_ member variable
friend class dslist<T>;
private:
Node<T>* ptr;