Function CSPPool<T>::AddNew()

Description:
Creates one or more new T objects and adds them to the pool.

Prototype:
void AddNew(unsigned long ulCount = 1);

Arguments:
  • unsigned long ulCount = 1 [IN]
    The number of new objects to add to the pool.



Return value:
No return value (void).

Remarks:
This member function, when creates a new T object, it calls its default constructor.

See also:
member functions Add( T* ), Add( const T&, unsigned long ), Get()
CSPPool<T> | Template classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd