Could const_cast ever return a null pointer for inputs other than null pointer?

前端 未结 0 1512
滥情空心
滥情空心 2021-01-23 01:20

cppreference explains that one possible const_cast conversion is a "null pointer value may be converted to the null pointer value of new_type".

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