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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,85c4b961f840b5ab X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!nwrdny02.gnilink.net.POSTED!0f19ed38!not-for-mail From: "Frank J. Lhota" Newsgroups: comp.lang.ada References: Subject: Re: Zero length Objects X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: Date: Wed, 30 Jun 2004 21:01:35 GMT NNTP-Posting-Host: 151.203.203.234 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny02.gnilink.net 1088629295 151.203.203.234 (Wed, 30 Jun 2004 17:01:35 EDT) NNTP-Posting-Date: Wed, 30 Jun 2004 17:01:35 EDT Xref: g2news1.google.com comp.lang.ada:2011 Date: 2004-06-30T21:01:35+00:00 List-Id: No object is really of zero length. The reason is that every object should have a unique address. Therefore, most Ada compilers will allocate at least one storage element to each object, in order to insure that if we declare A, B : Empty_Type; then A and B do not both refer to the same location.