Logo Search packages:      
Sourcecode: lttoolbox version File versions  Download package

template<class T>
void Pool< T >::copy ( Pool< T > const &  p  )  [inline, private]

copy method

Parameters:
other pool object

Definition at line 47 of file Pool.H.

Referenced by Pool< vector< unsigned short > >::Pool().

  {
    created = p.created;
  
    // all new members are available
    for(typename list<T>::iterator it = created.begin(), limit = created.end();
        it != limit; it++)
    {
      free.push_back(&(*it));
    }
  }


Generated by  Doxygen 1.6.0   Back to index