Modifying std::string internal buffer via the non-cont c++17 data() overload

前端 未结 0 515
旧时难觅i
旧时难觅i 2021-01-22 04:57

I just saw that c++17 overloads a non-const data() method i.e. CharT* data() noexcept; and want to be sure that the behavior of calling it as follows is well define

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