AFAIK, scoped_ptr will pass the ownership. I'll have a double check.