What do we need std::as_const() for?

后端 未结 0 565
暗喜
暗喜 2021-02-11 21:24

C++11 has given us std::add_const; with C++17, we have a new structure - std::as_const(). The former just tacks a const before the type you provide it with. The sec

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