list_rep< C > Class Template Reference

#include <list.hpp>

Inheritance diagram for list_rep< C >:
rep_struct

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

list_rep ( const C item2,
const list< C > &  next2 
) [inline]

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.

00144 { l.secure(); return l.rep->item; }

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; }

list<C>& cdr ( list< C > &  l  )  [friend]

Return the tail of l.

Return a copy of cdr (l) for write access.

Definition at line 149 of file list.hpp.

00149 { l.secure(); return l.rep->next; }

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]

Definition at line 53 of file list.hpp.


Member Data Documentation

MMX_ALLOCATORS int ref_count [inherited]

Definition at line 164 of file basix.hpp.


The documentation for this class was generated from the following file:

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1