| 
    Lolly 1.4.28
    
   | 
 
The list class represents a linked list. More...
#include <list.hpp>


Private Member Functions | |
| CONCRETE_NULL_TEMPLATE (list, T) | |
| list (T item) | |
| Construct a new list object with a single item.   | |
| list (T item, list< T > next) | |
| Construct a new list object with an item and a pointer to the next node.   | |
| list (T item1, T item2, list< T > next) | |
| Construct a new list object with two items and a pointer to the next node.   | |
| list (T item1, T item2, T item3, list< T > next) | |
| Construct a new list object with three items and a pointer to the next node.   | |
| T & | operator[] (int i) | 
| Overloaded subscript operator to access the item at a specific index in the list.   | |
Static Private Attributes | |
| static list< T > | init = list<T> () | 
| A static list object used for initializing new list objects.   | |
Friends | |
| bool is_atom | LESSGTR (list< T > l) | 
| bool strong_equal | LESSGTR (list< T > l1, list< T > l2) | 
The list class represents a linked list.
| T | The type of the data stored in the list. | 
Construct a new list object with two items and a pointer to the next node.
| item1 | The first item to be stored in the list. | 
| item2 | The second item to be stored in the list. | 
| next | A pointer to the next node in the list. | 
Construct a new list object with three items and a pointer to the next node.
| item1 | The first item to be stored in the list. | 
| item2 | The second item to be stored in the list. | 
| item3 | The third item to be stored in the list. | 
| next | A pointer to the next node in the list. | 
      
  | 
  private | 
Overloaded subscript operator to access the item at a specific index in the list.
| i | The index of the item to be accessed. | 
      
  | 
  friend |