libzypp 17.37.17
Smart pointer types

Smart pointer types. More...

Files

file  PtrTypes.h

Detailed Description

Smart pointer types.

Namespace zypp provides 3 smart pointer types using the boost smart pointer library.

  • scoped_ptr Simple sole ownership of single objects. Noncopyable.
  • shared_ptr Object ownership shared among multiple pointers

And zypp::RW_pointer, as wrapper around a smart pointer, poviding const correct read/write access to the object it refers.