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
_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to