This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2094
- From: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 6 May 2003 00:36:00 -0000
- Subject: Re: c++/2094
- Reply-to: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
The following reply was made to PR c++/2094; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/2094
Date: Mon, 5 May 2003 19:30:36 -0500 (CDT)
Here's a small testcase that is somewhat more like our usual ones:
---------------------
struct S {
int i;
};
template<int S::*p, typename>
struct X {
X ();
template<typename U> X(const X<p,U> &);
};
X<&S::i,S> x = X<&S::i,S>();
----------------------------