list_rep< C > Class Template Reference
#include <list.hpp>
List of all members.
Public Member Functions
Public Attributes
Friends
Detailed Description
template<typename C>
class mmx::list_rep< C >
Definition at line 46 of file list.hpp.
Constructor & Destructor Documentation
Friends And Related Function Documentation
C& car |
( |
list< C > & |
l |
) |
[friend] |
Return the head of l.
Return a copy of car (l) for write access.
Definition at line 144 of file list.hpp.
const C& car |
( |
const list< C > & |
l |
) |
[friend] |
Return the head of l.
Definition at line 140 of file list.hpp.
00140 { return l.rep->item; }
Return the tail of l.
Return a copy of cdr (l) for write access.
Definition at line 149 of file list.hpp.
const list<C>& cdr |
( |
const list< C > & |
l |
) |
[friend] |
Return the tail of l.
Definition at line 145 of file list.hpp.
00145 { return l.rep->next; }
friend class list< C > [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: