@jxy yes there is a difference betwen `ref A` and `ptr A`. When the ref is 
implemented as an `std::shared_ptr` (I think Araq mentioned an option once to 
do that), then `ref A` takes over the ownership and as soon as the reference is 
deleted, also the memory will be deleted. You don't want that, therefore don't 
use a ref.

Reply via email to