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.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a24:258a:: with SMTP id g132-v6mr2930807itg.4.1522783541248; Tue, 03 Apr 2018 12:25:41 -0700 (PDT) X-Received: by 2002:a9d:29d2:: with SMTP id g18-v6mr858760otd.5.1522783540997; Tue, 03 Apr 2018 12:25:40 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!maths.tcd.ie!newsswitch.lcs.mit.edu!ottix-news.ottix.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!u184-v6no5410042ita.0!news-out.google.com!u64-v6ni7065itb.0!nntp.google.com!u184-v6no5410033ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 3 Apr 2018 12:25:40 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=82.154.190.43; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 82.154.190.43 References: <3a9d9cbf-87aa-41a4-89b5-b4a02ebcb748@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: limited agregate and limited components default initialization From: Jean-Claude Rostaing <00120260a@gmail.com> Injection-Date: Tue, 03 Apr 2018 19:25:41 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:51323 Date: 2018-04-03T12:25:40-07:00 List-Id: Oh thanks ! Yes, I forgot "in out", but since the internal is changed it ma= kes sense. Your exemple is simpler, yes, but it allows declaration of unitialized obje= cts. I want to force the user to use a constructor, which might do extremel= y complicated computations based on the environment, and set also arbitrari= ly complicated discriminants, all things the user doesn't have to know abou= t :-)