ColumbusUtrigas / ColumbusEngine

Experimental rendering engine
https://columbusutrigas.com
GNU General Public License v2.0
44 stars 4 forks source link

Improve exception safety with smart pointers #38

Open elfring opened 4 years ago

elfring commented 4 years ago

Would you like to wrap any pointer data members with the class template “std::unique_ptr”?

ColumbusUtrigas commented 4 years ago

Sorry for delay (many work in last months) and thanks for the feedback! Yes, this is planned in many places. For example GameObjects, which are currently passed with raw pointers, causing segmentation faults in editor code, it requires a lot of refactoring but I'l definitely do this.