Link to home
Start Free TrialLog in
Avatar of migue
migue

asked on

Exceptions...

If an exception object is created on the stack, do I have to delete it in the catch clause ?

ie..

CFileException e;
try
{
  // something
}
catch(CFileException e)
{
  // do something else
  delete e // needed ?
}

ASKER CERTIFIED SOLUTION
Avatar of naveenkohli
naveenkohli

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial