This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Curious issue with char_traits


Paolo Carlini wrote:

A variant of this idea would be concentrating on the free functions:
for one, AFAICS, there are no dangers coming from classes like slist
or hash_map;

I don't have g++4 now to check, but g++ is (was?) the only compiler in existence where non-function names are found by ADL and cause errors.


If this is still true, then yes, classes would cause the same problem if a call to user function named 'slist' happens to search __gnu_cxx as an associated namespace.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]