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]

Re: c++/5018: cannot define template member outside class declarations


Synopsis: cannot define template member outside class declarations

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Dec 14 01:21:34 2001
State-Changed-Why:
    Not a bug.  The correct syntax is
      template <typename T1>
      template <typename T2>
      void Test<T1>::Write(const T2 & value)
      {
    There is no '<T2>' after 'Write'.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=5018&database=gcc


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