This is the mail archive of the gcc-bugs@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: typedef, class template and inheritance


>>>>> Gabriel Dos Reis <Gabriel.Dos-Reis@dptmaths.ens-cachan.fr> writes:

> Not enableing types defined public in foo<T, T> to be visible in
> bar<T> is not the way things should go.

Maybe, maybe not.  It's not up to me.  This has been discussed by the
committee, and the conclusion was that the library needs to add a bunch of
typedefs; i.e.

  typedef typename foo<T, T>::base_type base_type;

Jason


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