Deducing consness of a pair member in a template return type

后端 未结 0 389
我寻月下人不归
我寻月下人不归 2020-12-21 11:07

Assume I have an iterator referencing a std::pair. It might point into a map, so first_type would be const. But it might also be a vector of pairs,

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