Oh, nevermind. This is actually simpler.You can't do memory operations inside a destructor during collection. I forgot about that.But the rule I stated is still in force. -Steve
So this implies that the UniquePtr implementation originally posted might work with malloc/free calls, or some other non-GC allocator...of course, in that case one could just use std.typecons.Unique.