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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-26 03:56:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny01.gnilink.net.POSTED!53ab2750!not-for-mail From: "Stephane Richard" Newsgroups: comp.lang.ada References: <1064527575.648809@master.nyc.kbcfp.com> <3F739C1D.4030907@attbi.com> <6ev7nvc9houpb66ishpkm3h8ref7l6eu7c@4ax.com> Subject: Re: Is the Writing on the Wall for Ada? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Fri, 26 Sep 2003 10:56:41 GMT NNTP-Posting-Host: 129.44.79.109 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny01.gnilink.net 1064573801 129.44.79.109 (Fri, 26 Sep 2003 06:56:41 EDT) NNTP-Posting-Date: Fri, 26 Sep 2003 06:56:41 EDT Xref: archiver1.google.com comp.lang.ada:42978 Date: 2003-09-26T10:56:41+00:00 List-Id: Indeed Matthew, thye seem to be using Type casting....is ther such a thing in Ada? could you not typecase the resulting string into a character array? -- St�phane Richard "Ada World" Webmaster http://www.adaworld.com "Matthew Heaney" wrote in message news:uisnfj03s.fsf@earthlink.net... > Dmitry A. Kazakov writes: > > > On Fri, 26 Sep 2003 02:31:52 GMT, Matthew Heaney > > wrote: > > > > >The problem with Ada.Strings.Unbounded is that to do anything useful > > >with it requires a conversion to type String, which is grossly > > >inefficient, not to mention awkward. > > > > Yes, but the problem is deeper - unbounded string are not arrays. > > That's true of the C++ std::string. Yet that class manages to have a > c_str() member function that does return an array. > > > > > >