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


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

Re: Static data members in template declarations


>>>>> Alexandre Oliva <oliva@dcc.unicamp.br> writes:

 > On Nov  2, 1998, Jason Merrill <jason@cygnus.com> wrote:
 >>>>>>> Alexandre Oliva <oliva@dcc.unicamp.br> 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.

 > The point I was trying to make is that they *should* be the same
 > thing.

And my point is that the standard says they aren't.

Jason


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