C++ binding |
markand
|
On 26/02/2014 18:42, Dmitry Marakasov wrote:
The binding looks great, however I saw that you used raw pointer of SDL_Window in the Window class. You disable the copy constructor. I would rather use a std::unique_ptr<> with the custom deleter for that purpose or better a std::shared_ptr so that Window can be safely copied and destroyed when required. Regards, David. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||
|