4 /// reference counting handle
10 /// let go of ref. Delete if necessary
19 /// point to new object.
20 void up(T
*t
, int *r
) {
33 T
* newobj
= new T(*obj
);
38 Handle(Handle
const &src
) {
39 up(src
.obj
, src
.refs
);
44 void operator=(Handle
const& src
) {