rtfm: http://en.cppreference.com/w/cpp/memory/unique_ptr
On 06.10.2014, at 09:08, Tibor Bamhor <[email protected]> wrote: > 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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp

