This lets one create types that are aware of their location inside an associative container, like this:
class A {
std::map<int, A>::iterator it;
};
Paths
| Differential D7785
[libcxx] Allow declaration of map and multimap iterator with incomplete mapped type. ClosedPublic Authored by EricWF on Feb 20 2015, 4:23 AM.
Details
Summary This lets one create types that are aware of their location inside an associative container, like this: class A { std::map<int, A>::iterator it; };
Diff Detail
Event TimelineComment Actions Another attempt that, hopefully, does not change the mangling of map::iterator. Comment Actions Remove extra template parameters from maps iterator types. Get the key value types a different way. mclow.lists edited edge metadata. Comment ActionsThis looks fine to me.
This revision is now accepted and ready to land.Mar 3 2015, 10:58 AM
Revision Contents
Diff 20393 include/__tree
include/map
test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
|
Is this just a line-wrap change - or am I missing some functionality that has changed?