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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1e0472f55fc12a52 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-18 18:27:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc04.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: Subject: Re: How do I create an object instance from a tag? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: NNTP-Posting-Host: 12.211.13.75 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc04 1045621622 12.211.13.75 (Wed, 19 Feb 2003 02:27:02 GMT) NNTP-Posting-Date: Wed, 19 Feb 2003 02:27:02 GMT Organization: AT&T Broadband Date: Wed, 19 Feb 2003 02:27:03 GMT Xref: archiver1.google.com comp.lang.ada:34216 Date: 2003-02-19T02:27:03+00:00 List-Id: What I "thought" was intuitive was something like: myTag : Tags.Tag; value : data_type'class; for Value'Tag use myTag; Of course that doesn't work. Steve (The Duck) "Randy Brukardt" wrote in message news:v54tspimi80414@corp.supernews.com... > Dmitry A. Kazakov wrote in message ... > > >No, you cannot dispatch on a bare tag without any object. But it seems > >that this will be changed (soon?). > > > Well, it should be changed IMHO, but I don't think that it will be, at > least in the absense of a proposal that people like better than mine. > :-) The ways to do it that have been suggested are either not very > appealing or plain don't work. > > Randy. > >