-- SMART_PTR: Fix mt_ptr implementation and rearrange some code
-- SMART_PTR: Fix mt_ptr implementation and rearrange some code

uentity/bluesky,uentity/bluesky,uentity/bluesky,uentity/bluesky,uentity/bluesky