From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,T_SCC_BODY_TEXT_LINE, XPRIO autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Calling inherited primitive operations in Ada Date: Fri, 2 Sep 2022 19:16:34 -0500 Organization: A noiseless patient Spider Message-ID: References: <67b32db0-c4db-466c-ac13-e597e008c762n@googlegroups.com> <401d6f59-2c28-4dd5-9fa6-fccf33b6d645n@googlegroups.com> <12cc33b1-2c39-4057-8a03-623064b06e8en@googlegroups.com> Injection-Date: Sat, 3 Sep 2022 00:16:35 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="540bec0664a3fed56c5bc4112da1ca1f"; logging-data="2820969"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WfM45jo19p/Xl91Q+H9BIAkgLAm4PyJg=" Cancel-Lock: sha1:wc08Et98+r5BVI3AIoIQ2lW7EJQ= X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 X-MSMail-Priority: Normal X-Priority: 3 Xref: reader01.eternal-september.org comp.lang.ada:64281 List-Id: "Emmanuel Briot" wrote in message news:bf352372-632c-45c1-b691-758756e87541n@googlegroups.com... ... > And Ada doesn't support default values for the formal parameters of > generics (another annoying limitation !) Ada *DOES* support default values for formal parameters of generics. At least the most used kinds of parameters, including subprograms and types (the latter added in Ada 2022). Whether GNAT (or your other favorite compiler) supports formal type defaults yet is a different question. Randy.