This is the mail archive of the gcc-prs@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]

Re: c++/2094


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>();
 ----------------------------
 


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