How do I initialize a std::unique_ptr with a deleter in a constructor?

后端 未结 0 1310
暗喜
暗喜 2021-02-05 09:10

I\'m trying to wrap a C library raw pointer in a std::unique_ptr and use the constructor with the Deleter to call the library free function. I have to do some setup in the const

相关标签:
回答
  • 消灭零回复
提交回复
热议问题