Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道这std::map本质上是一张有序的地图,但我想知道:
std::map
如果我有课程A并且B我创建了一个std::map<A, B> myMap;,那么创建我自己的订单所需的最低要求是多少?
A
B
std::map<A, B> myMap;
超载A::operator <(const A&)够吗?
A::operator <(const A&)
还是我必须制作自己的迭代器?