Lumiera
0.pre.03
»edit your freedom«
|
After taking ownership, they prohibit copy operations, manage the lifecycle of the contained object and provide smart-ptr like access. A series of identical tests is conducted both with the ScopedPtrHolder (the contained objects are heap allocated but managed by the holder) and with the ScopedHolder (objects placed inline)
Definition at line 53 of file scoped-holder-test.cpp.
Private Member Functions | |
template<class HO > | |
void | checkAllocation () |
template<class HO > | |
void | checkCopyProtocol () |
template<class HO > | |
void | checkErrorHandling () |
template<class HO > | |
void | checkSTLContainer () |
void | create_contained_object (HolderD &holder) |
void | create_contained_object (PtrHolderD &holder) |
virtual void | run (Arg) |
|
inlineprivate |
Definition at line 194 of file scoped-holder-test.cpp.