Function CSPPool<T>::ObjectPtr::Release()
Description:
Releases any pooled object attached to the smart pointer and returns it to the thread safe pool that it was previously retrieved from.
 |
Prototype:
void Release();
Arguments:
No arguments (void).
Return value:
No return value (void).
Examples:
CSPPool<CSPString> Pool; Pool.Add( "Hello", 10 ); .... CSPPool<CSPString>::ObjectPtr spString; spString.Attach( Pool ); ... spString.Release();
See also:
member functions Attach()
|
|