std::vector<std::pmr::string> KEYS{}; KEYS.reserve(10000000); for(auto i=0; i<2000000;++i) { KEYS.emplace_back("k" + std::to_string(i));} for(auto i=2000000;i<4000000;++i) { KEYS.emplace_back("k" + std::to_string(i)+"___");} for(auto i=4000000;i<6000000;++i) ...
template<> struct hash<std::u32string>; (C++11 起) template<> struct hash<std::pmr::string>; template<> struct hash<std::pmr::wstring>;template<> struct hash<std::pmr::u16string>;template<> struct hash<std::pmr::u32string>; (C++17 起) template<> struct hash<std::u8string>;...