I currently had a problem with storing a SDL_Window pointer as a std::unique_ptr. What I tried was:
std::unique_ptr window_;
I find this cleaner:
auto window = std::unique_ptr>( SDL_CreateWindow("Test", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, kWindowWidth, kWindowHeight, 0), SDL_DestroyWindow );