This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15503] nested template problem
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2004 20:21:46 -0000
- Subject: [Bug c++/15503] nested template problem
- References: <20040517201227.15503.mark.a.anders@intel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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