Comment Comment by basman Or, perhaps easier:scoped_ptr<Image> image(allocate_image(...)); parent basman 14 years ago
scoped_ptr<Image> image(allocate_image(...));