← Back to team overview

widelands-dev team mailing list archive

unique_ptr question

 

Hi,

small question, I am using unique pointer, this way:

std::unique_ptr<Path> path2 (new Path());

Is it necessary to call any 'delete' on the end of scope (end of curly
braces)?

Probably not, I think.....

Thanks

Follow ups