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=-0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:424c:b0:6be:78d5:ec73 with SMTP id w12-20020a05620a424c00b006be78d5ec73mr26434806qko.579.1663171484683; Wed, 14 Sep 2022 09:04:44 -0700 (PDT) X-Received: by 2002:ac8:7dd6:0:b0:35b:ae11:4a2 with SMTP id c22-20020ac87dd6000000b0035bae1104a2mr17737940qte.170.1663171484504; Wed, 14 Sep 2022 09:04:44 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 14 Sep 2022 09:04:44 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=81.167.0.45; posting-account=uulyKwoAAAA86DO0ODu--rZtbje8Sytn NNTP-Posting-Host: 81.167.0.45 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Non-standard functions in GNAT's Ada.Containers packages? From: Egil H H Injection-Date: Wed, 14 Sep 2022 16:04:44 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1637 Xref: reader01.eternal-september.org comp.lang.ada:64329 List-Id: On Wednesday, September 14, 2022 at 2:36:11 PM UTC+2, G.B. wrote: > In Ada.Containers.{Kind}s of GCC 11.2, I find functions defined > by the pattern: > > function Empty (Capacity : Count_Type := 1000) return {Kind}; > > I couldn't find these functions in the LRM's package specifications. > Am I missing something? They're part of Ada 2022, needed for the new container aggregate syntax. See, http://www.ada-auth.org/standards/2xrm/html/RM-A-18-5.html http://www.ada-auth.org/standards/2xrm/html/RM-4-3-5.html