Esempio n. 1
0
 ~my_Type()
 {
     d_allocator_p->deallocate(d_stuff_p);
 }
Esempio n. 2
0
 inline
 my_Id::~my_Id()
 {
     d_allocator_p->deallocate(d_buffer_p);
 }
 ~TestType() {
     ++numDestructorCalls;
     *d_data_p = '_';
     d_allocator_p->deallocate(d_data_p);
     d_data_p = 0;
 }
void my_Allocator::deallocate(void *address)
{
    d_allocator_p->deallocate(address);
}