IBM ILOG Dispatcher User's Manual > Transportation Industry Solutions > Pickup and Delivery by Multiple Vehicles from Multiple Depots > Model > Define the Depot destructor

A destructor cleans up the temporary objects. This code is provided for you:

Depot::~Depot() {
  _nhood.end();
  _mh.end();
  _vehicles.end();
  _visits.end();
}