From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d768e222992aaaab X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Dispatching In Generics Date: 1997/06/09 Message-ID: #1/1 X-Deja-AN: 247320667 References: <3396EB36.3D14@boeing.com> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1997-06-09T00:00:00+00:00 List-Id: In article <3396EB36.3D14@boeing.com>, Kevin Ingalls 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