Skip to content

Instantly share code, notes, and snippets.

@icebreaker
Created April 18, 2014 20:30
Show Gist options
  • Select an option

  • Save icebreaker/11063025 to your computer and use it in GitHub Desktop.

Select an option

Save icebreaker/11063025 to your computer and use it in GitHub Desktop.
C++turbation
template<typename... Arguments> auto make_window(Arguments&&... args)
{
return detail::make_resource(SDL_CreateWindow, SDL_DestroyWindow, std::forward<Arguments>(args)...);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment