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=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,40843b637af826a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.74.74 with SMTP id r10mr79519wiv.3.1354676484515; Tue, 04 Dec 2012 19:01:24 -0800 (PST) Path: ha8ni145551wib.1!nntp.google.com!feeder2.cambriumusenet.nl!feeder1.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!border2.nntp.ams2.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!news.mixmin.net!news2.arglkargh.de!news.karotte.org!uucp.gnuu.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 29 Nov 2012 15:05:19 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: IBM 437 encoded String to UTF-16 Wide_String References: <11112110-03b1-4977-ba80-00204926ea23@googlegroups.com> <68663891-14ad-4780-a00d-1cc48ed75323@googlegroups.com> <027679a1-dc5e-4888-9dd1-2a4ccf32e66c@googlegroups.com> <50b5dcd0$0$6581$9b4e6d93@newsspool3.arcor-online.net> <1mefvxxar8vn3$.16pejjtgf8hhg.dlg@40tude.net> <50b5f60e$0$9524$9b4e6d93@newsspool1.arcor-online.net> <347rnekt4in1.12pbyz0phdelf$.dlg@40tude.net> <50b615d5$0$6584$9b4e6d93@newsspool3.arcor-online.net> <11j81z9v2gr02$.kxnnq6lqzoz$.dlg@40tude.net> <50b64b47$0$6571$9b4e6d93@newsspool3.arcor-online.net> <1e9k8c3tgm89w$.v1ty0n5ucjqv.dlg@40tude.net> <50b73013$0$6576$9b4e6d93@newsspool3.arcor-online.net> <3lyk4h2cmhu3$.ajovidbaq9z9.dlg@40tude.net> In-Reply-To: <3lyk4h2cmhu3$.ajovidbaq9z9.dlg@40tude.net> X-Enigmail-Version: 1.4.6 Message-ID: <50b76b9e$0$6572$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 29 Nov 2012 15:05:18 CET NNTP-Posting-Host: 37f9f164.newsspool3.arcor-online.net X-Trace: DXC=_K[[SYM4W^X\PS5Xo=M[RVMcF=Q^Z^V3X4Fo<]lROoRQ8kFZLh>_cHTX3j]bHkUn On 29.11.12 11:52, Dmitry A. Kazakov wrote: > On Thu, 29 Nov 2012 10:51:27 +0100, Georg Bauhaus wrote: > >> It's just that >> >> - if Ada does not get a complete apparatus for handling >> all string types in some Root_String'Class, and ^^^ > Bad > >> - if I want my subprograms to work with different >> types of strings, > > type A is new B; -- Ada 83 type A is new Root_String'Class; -- not Ada >> this particular kind of problem can be solved with the help of a >> generic formal package that a user of my programs has instantiated, > > Egh, which problem? That of making a subprograms work with any type of string in current Ada.