public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Template members
@ 1998-02-12 20:07 David Greene
  1998-02-13  2:04 ` Alexandre Oliva
  1998-02-13  2:28 ` Mark Mitchell
  0 siblings, 2 replies; 4+ messages in thread
From: David Greene @ 1998-02-12 20:07 UTC (permalink / raw)
  To: egcs

A quick question on template member syntax, and whether
egcs is behaving correctly:

I have a line of code that looks like this (e is an STL
iterator):

myAttribute attr = (*e).getNode()->getAttribute<myAttribute>();

egcs complains about a parse error before `>'.

myAttribute is defined in a header file included by the source
file.  This worked before I used template members to get at
attributes (direct request to the attribute manager object).

Is my code incorrect, or is this a bug in egcs?  I couldn't
find anything in [3rd] to indicate that this would be a problem.

                                      -Dave


^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <Pine.LNX.3.96.980212122117.11321A-100000.cygnus.egcs@drakh.eecs.umich.edu>]

end of thread, other threads:[~1998-02-13  2:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-12 20:07 Template members David Greene
1998-02-13  2:04 ` Alexandre Oliva
1998-02-13  2:28 ` Mark Mitchell
     [not found] <Pine.LNX.3.96.980212122117.11321A-100000.cygnus.egcs@drakh.eecs.umich.edu>
1998-02-12 22:51 ` Jason Merrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).