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]
Other format: [Raw text]

[Bug c++/15503] nested template problem


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-17 20:21 -------
I do not know if this is valid C++ (I think it is not, ICC6.0 rejects it in strict mode).

The way I was able to compile it with 3.4.0, is replace the construtor with:
template<class T>
C::NProperty<T>::NProperty(int T::*d) :
  Property<int>(d) { }

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15503


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