map<int,int> a; pair<std::map<int,int>::iterator ,bool> f; f=(a.insert({0,0})); cout<<f.second;
为什么输出1呢?
对于该对中的任何值,它始终输出 1
c++ stdmap std-pair
c++ ×1
std-pair ×1
stdmap ×1