Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
[cpp]boost::shared_ptr<irgendEinTyp> sharedPtr(new irgendEinTyp()); sharedPtr = boost::shared_ptr<irgendEinTyp>(new irgendEinTyp());[cpp]
Also kann ich einem shared_ptr von Boost eine neue Instanz zuweisen und die alte wird korrekt gelöscht?
Ja