SyntaxFix
Write A Post
Hire A Developer
Questions
Bit of a c++11 take:
std::map<uint32_t, uint32_t> items; std::vector<uint32_t> itemKeys; for (auto & kvp : items) { itemKeys.emplace_back(kvp.first); std::cout << kvp.first << std::endl; }