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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,33bd7fade7a30a51 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.204.149.210 with SMTP id u18mr1763852bkv.1.1339170866456; Fri, 08 Jun 2012 08:54:26 -0700 (PDT) Path: e27ni27895bkw.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: package Ada.Tags Date: Fri, 8 Jun 2012 08:26:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <0067e29b-aceb-4c50-9d62-453c4f549f2e@googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 X-Trace: posting.google.com 1339170866 12948 127.0.0.1 (8 Jun 2012 15:54:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 8 Jun 2012 15:54:26 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-06-08T08:26:46-07:00 List-Id: On Friday, June 8, 2012 2:50:30 AM UTC-7, Hibou57 (Yannick Duch=EAne) wrote= : > Forgive me for being pedantic, but it's important to note this is not a = =20 > type conversion, that's a *view conversion*. There are two kinds of type conversions: "view conversions" and "value conv= ersions". So, yes, this is a type conversion, and yes, it's a view convers= ion.=20 The important thing to note (for the OP) is that since this is not a value = conversion, that means the tag doesn't change. Similarly with one of the e= xamples I posted earlier, where I wrote Events_Record_Type(Event) [without = the 'Class]. This is also a view conversion, which means that while it cau= ses the compiler to look at the object differently, it's not a *value* conv= ersion, so the value doesn't change to a value of a different type--which m= eans 'Tag will still be the same, which is what the OP wanted. -- Adam