for

a mutex, which is a kind of resource that has to be specifically deallocated under such circumstances:
 bool aMethod()
 {
    CountedPointer<Mutex> p = new Mutex() ;

    if ( condition )
    	throw Exception() ;  // no problemo!
    else
      return false ;
 }
 


Generated on Thu Jun 4 20:39:15 2009 for Ceylan by  doxygen 1.5.8