Safe to cast to remove const compiler error between void* and const type

前端 未结 0 1169
抹茶落季
抹茶落季 2021-02-20 01:59

I have a method (below) creating a struct msghdr for use with recvmsg().

I\'d like to pass sin by const reference but I get a compi

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