Thomas M. Miller (miller++at++acusoft.com)
Mon, 15 Apr 1996 15:31:32 -0400 (PDT)
For example if I was to implement a class in the following manner would
it cause any problems?
class DCS_ListElm : public pfDCS
{
public:
DCS_ListElm *next, *prev;
DCS_ListElm( void ) : pfDCS()
{
next = prev = NULL;
}
~DCS_ListElm( void )
{
if( next )
next->prev = prev;
if( prev )
prev->next = next;
}
};
Please forgive the crudness of my example class.
Would there be mal effects upon the deletion of an object of this class?
In what manner should an object of this class be delete anyway,
using the delete operator or pfDelete?
Thanks,
Thomas Miller IV
--TMIV
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:42 PDT