comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Dispatching In Generics
Date: 1997/06/09
Date: 1997-06-09T00:00:00+00:00	[thread overview]
Message-ID: <EBIxpx.4vy@world.std.com> (raw)
In-Reply-To: 3396EB36.3D14@boeing.com


In article <3396EB36.3D14@boeing.com>,
Kevin Ingalls  <kevin.l.ingalls@boeing.com> wrote:
>		op (object_of_type_T); -- here is the syntax error

It would be easier to answer your question if you posted the exact code
that you compiled, and the exact error message the compiler gave.  And
maybe even which compiler (and which version) it was.

Anyway, I think what you're looking for is generic formal derived
types.  They drag in their primitive ops with them, and (if tagged) the
generic can dispatch to them.

- Bob




  parent reply	other threads:[~1997-06-09  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-05  0:00 Dispatching In Generics Kevin Ingalls
1997-06-07  0:00 ` Tom Moran
1997-06-09  0:00 ` John English
1997-06-09  0:00 ` Robert A Duff [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-09-11  0:00 Dispatching in Generics Kevin Ingalls
1997-09-12  0:00 ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox