Open main menu

CDOT Wiki β

Changes

Project A3 20141 - OOP344

1 byte added, 02:31, 23 March 2014
m
Class: List, File [list.h], Test: 1: Minor
; ListNode<T>* next() const: Next getter. Returns the internally held next pointer.
=== Class: List<T>, File Files [list.h], Test: 1 ===
A templated linked list class. Similar to IntList. Similarly to IntList, because it needs to be able to set the next pointer on ListNode<T> objects, this class '''may''' need to be a friend of the ListNode<T> class (this depends on how you implement these classes).