How can I get keys from map in c++ in any form?

前端 未结 0 1944
太阳男子
太阳男子 2020-12-22 04:37

I want to get all keys from a collection, is there a standard way to do this?

std::unordered_map map;
auto keys = map.get_keys();
<         


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