C++世界中是否有一个具有这些属性的容器?
我目前正在收集我的数据std::set<C,COMPARATOR>,然后做一个std::copy(_set.begin(),_set.end(),std::back_inserter(_vec))能够随机访问有序集合.然而,规模可能会达到数亿.
std::set<C,COMPARATOR>
std::copy(_set.begin(),_set.end(),std::back_inserter(_vec))
c++ containers c++11
c++ ×1
c++11 ×1
containers ×1