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 ?
}
ie..
CFileException e;
try
{
// something
}
catch(CFileException e)
{
// do something else
delete e // needed ?
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.