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,5af5c381381ac5a7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!gegeweb.org!aioe.org!news.tornevall.net!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! Date: Fri, 11 Jun 2010 11:03:44 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <03f84a0a-e070-43a9-9b68-920345f64f94@r27g2000yqb.googlegroups.com> <1c704c1e-1b2e-427f-ae0e-3b2a0f976c7c@y4g2000yqy.googlegroups.com> <10855f68-76a1-4600-ba65-464dab6c6274@w12g2000yqj.googlegroups.com> <7cb03fe5-a65c-4f0b-bd9d-a071b905aad1@y11g2000yqm.googlegroups.com> <4c10baa2$0$6974$9b4e6d93@newsspool4.arcor-online.net> <82eigend6p.fsf@stephe-leake.org> NNTP-Posting-Host: 8026afc5e683d4c37f5fab4998deb776 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: 7f1672d98bf543dfda639e43daf039ac X-Complaints-To: abuse@tornevall.net User-Agent: Thunderbird 2.0.0.24 (X11/20100411) X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: <82eigend6p.fsf@stephe-leake.org> X-Validate-Post: http://news.tornevall.net/validate.php?trace=7f1672d98bf543dfda639e43daf039ac X-SpeedUI: 1738 X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se mandate una email scrivete solo in Inglese, grazie X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: g2news2.google.com comp.lang.ada:12619 Date: 2010-06-11T11:03:44-07:00 List-Id: Stephen Leake wrote: > Georg Bauhaus writes: > >> Will it, in theory, be possible to write a Qt-like library >> in Ada such that client programs declare variables like >> >> W : Some_Window'Class := Some_Lib_Pack.Make (Typ => Some_Id); >> >> That is, programs do not use access Some_Window'Class? > > No. Because the underlying C++ uses pointers, so the Ada has to as well. In the implementation, sure. But the question was about the client; I suspect it would be possible to design the binding so the client need not use pointers. -- Jeff Carter "We burst our pimples at you." Monty Python & the Holy Grail 16