[PATCH] [libcxx] Allow declaration of map and multimap iterator with incomplete mapped type.
Evgeniy Stepanov
eugenis at google.com
Fri Feb 20 04:23:42 PST 2015
Hi EricWF, mclow.lists,
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;
};
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7785
Files:
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
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7785.20390.patch
Type: text/x-patch
Size: 11615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150220/a997e919/attachment.bin>
More information about the cfe-commits
mailing list