CountedPointer

Assignment constructor. Creates a counted pointer from a raw pointer.

<Foo> foo_ref = new Foo() ;

Parameters:
resourcePointer the unique pointer to the resource that should exist. If null (0), the counter pointer will refer to a void pointer common to all ElementType instances. This is useful when an array of counted pointers is created, since their default constructor will be called as many times as there will be elements.

Generated on Thu Jun 4 20:39:15 2009 for Ceylan by  doxygen 1.5.8