next up previous contents
Next: Building Polynomials: The FLOAT_POLY Up: Implementing the FLOAT_POLY_CELL Methods: Previous: The Constructors:

The Destructor:

    // ********************************************** //
    // destructor for FLOAT_POLY_CELL class           //
    // ********************************************** // 
FLOAT_POLY_CELL::~FLOAT_POLY_CELL()
{
  if(next!=NULL) //destroy next FLOAT_POLY_CELL pointer
    delete next; 
}



Jim Peterson
1999-04-22