refPtr does not do assignment from autoPtr
Functionality to add/problem to solve
Assign autoPtr to a refPtr is not defined. Following code produces a sigsegv:
autoPtr<labelList> ptr(new labelList(1, 1234));
refPtr<labelList> ref;
//- Does not work
ref = ptr;
////- Works
//ref = refPtr<labelList>(std::move(ptr));
DebugVar(ptr.valid());
DebugVar(ref.valid());
DebugVar(ref());
Proposal
Have (stealing?) assignment from autoPtr