Logo Search packages:      
Sourcecode: lttoolbox version File versions

template<class T>
void Pool< T >::release ( T *  item  )  [inline]

Release a no more needed instance of a pooled object

Parameters:
item the no more needed instance of the object

Definition at line 169 of file Pool.H.

Referenced by State::apply(), State::copy(), and State::destroy().

  {
    free.push_front(item);
  }


Generated by  Doxygen 1.6.0   Back to index