Curious issue with char_traits
Paolo Carlini
pcarlini@suse.de
Tue Oct 25 15:59:00 GMT 2005
Paolo Carlini wrote:
>I think that specifically one of his proposed modifications would avoid
>this problem: he wants to stop considering as associated namespaces
>those of *template arguments*: I think that in your examples basically
>the problem comes from the Traits argument of basic_string, which is
>std::char_traits, which, in turn has __gnu_cxx::char_traits as a base,
>thus __gnu_cxx is searched.
>
>Indeed, there are problems of backward compatibility, in my opinion too...
>
>
... his second modification, instead (the one most problematic from the
point of view of backward compatibility, I think) would "fix" your first
example, the one involving char_traits directly.
Paolo.
More information about the Libstdc++
mailing list