众所周知,map 的常数比 set 大。
map
set
那么 map<int, int> 和 set<pair<int, int>> 的常数谁大?
map<int, int>
set<pair<int, int>>