This is the mail archive of the mailing list for the libstdc++ project. See the libstdc++ home page for more information.

[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: Static data members in template declarations

>>>>> Alexandre Oliva <> writes:

 > Within the scope of S<T>, `a', `S::a' and `S<T>::a' are all the same
 > thing

Nope.  S::a and S<T>::a are the same, but they are dependent, and `a' is
not.  g++ doesn't currently implement that consistently.