supertux
|
Simple Wrapper class around SDL_Surface that provides exception safety. More...
#include <sdl_surface_ptr.hpp>
Public Member Functions | |
SDLSurfacePtr (SDL_Surface *surface) | |
SDLSurfacePtr (SDLSurfacePtr &&other) noexcept | |
SDLSurfacePtr & | operator= (SDLSurfacePtr &&other) noexcept |
SDL_Surface & | operator* () |
const SDL_Surface & | operator* () const |
SDL_Surface * | operator-> () |
const SDL_Surface * | operator-> () const |
void | reset (SDL_Surface *surface) |
SDL_Surface * | get () const |
operator void * () | |
Simple Wrapper class around SDL_Surface that provides exception safety.