Destructor in Block

40 views
Skip to first unread message

mahesh kumar behera

unread,
Sep 3, 2013, 9:48:34 AM9/3/13
to supersonic-...@googlegroups.com
Hi,
 
  Why there is no destructor in Block. Is it done intentionally or just missed ???
 
I have created a block and allocated memory to it using Reallocate ...Should i add a destructor to the block  and so for Column also ..to release the memory ???
Is there any other way ..i can do this ??? like ResetArena and then Reallocate to 0 ... ????
 
Regards
Mahesh
 

ptab

unread,
Sep 9, 2013, 5:34:22 PM9/9/13
to supersonic-...@googlegroups.com
This class does not have any virtual methods, so I assume that default destructor (compiled generated) is sufficient. 

Piotr
Reply all
Reply to author
Forward
0 new messages