[cfe-dev] Bug 13699 - Types unexpectedly lose visibility. This is happening when using iterators.

Francisco Lopes francisco.mailing.lists at oblita.com
Sat Aug 25 16:35:36 PDT 2012


It seems this behavior comes from usage of the __wrap_iter template.

basic_string also declares its iterator with it like this:
typedef __wrap_iter<pointer> iterator;

And it suffers from the same behavior. After declaring:

std::basic_string<char>::iterator c;

std::basic_string ceases to be accessible from completion.

This __wrap_iter template exists in the libc++, which I'm using.



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Bug-13699-Types-unexpectedly-lose-visibility-This-is-happening-when-using-iterators-tp4026362p4026365.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list