libzypp 17.31.23
|
Smart pointer types.
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 pointersweak_ptr
Non-owning observers of an object owned by shared_ptr.And zypp::RW_pointer, as wrapper around a smart pointer, poviding const
correct read/write access to the object it refers.