Skip to content

Instantly share code, notes, and snippets.

@lethal-guitar
Last active October 27, 2017 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lethal-guitar/109c3a7ec28cc81400bd79e1e94b4979 to your computer and use it in GitHub Desktop.
Save lethal-guitar/109c3a7ec28cc81400bd79e1e94b4979 to your computer and use it in GitHub Desktop.
template<typename LibraryType>
struct Deleter {};
template<typename LibraryType>
using Ptr = std::unique_ptr<LibraryType, Deleter<LibraryType>>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment