libzypp  17.37.18
RAII solutions

Classes

class  zypp::DtorReset
 Assign a vaiable a certain value when going out of scope. More...
 
struct  zypp::str::SafeBuf
 Assert free called for allocated char *. More...
 
class  zypp::AutoFD
 AutoDispose<int> calling ::close

  More...
 
class  zypp::AutoFILE
 AutoDispose<FILE*> calling ::fclose More...
 
class  AutoFREE< Tp >
 AutoDispose<Tp*> calling ::free

  More...
 
class  zypp::env::ScopedSet
 Temporarily set/unset an environment variable. More...
 

Detailed Description

See also
http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization