Harha / MirageRender

a 3D renderer written in C++
MIT License
153 stars 13 forks source link

Improve exception safety with smart pointers #3

Open elfring opened 8 years ago

elfring commented 8 years ago

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

Update candidates:

Harha commented 8 years ago

Yes, things would make way more sense that way. Though I'd have to read more about smart pointers before doing anything like this. I'm a beginner with C++, I know the basics but I haven't had the time to really read about the language and it's standard library that much, most of what I know I've just learned by experimentation.

I will do it, or if you want to I'm always happily accepting pull requests.

Anyways, thanks a lot. These are some nice suggestions you are sending.