阅读背景:

如何获取存储在unique_ptr中的指针的地址?

来源:互联网 

I'm trying to use the SDL2 library with c++ and as such, some of the functions need a double pointer to an SDL_Window or SDL_Renderer. I've malloc'ed some memory for an SDL_Window and gave that to a unique pointer like so:I'm trying to use the SDL2 library with c++ and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: