OwnerPtrRef — Allows correct passing of OwnerPtr by value as a temporary object.
template<typename T1> struct OwnerPtrRef: # construct/copy/destruct __init__(T1 *) # public member functions T1 * p_;
The following code allows correct passing of OwnerPtr by value as a temporary (const) object.
OwnerPtrRef
__init__(T1 * p)