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,ec2100175200a223 X-Google-Attributes: gid103376,public From: blaak@mda.ca (Ray Blaak) Subject: Re: C++ templates vs. Ada generics? Date: 1996/06/20 Message-ID: <4qbtid$bsq@map.mda.ca>#1/1 X-Deja-AN: 161224206 references: <4qa7or$qlm@goanna.cs.rmit.EDU.AU> content-type: text/plain; charset=us-ascii organization: Macdonald Dettwiler & Associates mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-06-20T00:00:00+00:00 List-Id: Dale Stanbrough writes: >[...] does anyone have any examples of what can be >achieved in C++ templates, but not Ada generics? On the fly instantiations (i.e. as a parameter to a function). Technically this does not provide any extra ability, but it can be wonderfully succinct, especially for one-time uses of the instantiation. Cheers, Ray Blaak