阅读背景:

C ++ map allocator将项目存储在向量中?

来源:互联网 

Here is the problem I would like to solve: in C++, iterators for map, multimap, etc are missing two desirable features: (1) they can't be checked at run-time for validity, and (2) there is no operator< defined on them, which means that they can't be used as keys in another associative container. (I don't care whether the operator< has any relationship to key ordering; I just want there to be some < available at least for iterators to the same map.)Here is the problem I would like to solve: in C




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: