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 X-Google-Thread: 103376,2afae4a128914036 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!news-stoc.telia.net!news-stoa.telia.net!telia.net!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 X-Accept-Language: sv, sv-se, sv-fi, en-gb, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: wide_string and assertions References: <47SdnXI-D-3icyLdRVn-uQ@megapath.net> In-Reply-To: <47SdnXI-D-3icyLdRVn-uQ@megapath.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Message-ID: Date: Sun, 06 Jun 2004 13:23:20 GMT NNTP-Posting-Host: 217.209.116.179 X-Complaints-To: abuse@telia.com X-Trace: newsc.telia.net 1086528200 217.209.116.179 (Sun, 06 Jun 2004 15:23:20 CEST) NNTP-Posting-Date: Sun, 06 Jun 2004 15:23:20 CEST Organization: Telia Internet Xref: g2news1.google.com comp.lang.ada:1167 Date: 2004-06-06T13:23:20+00:00 List-Id: Randy Brukardt wrote: >>In an assert(x, y), y has to be static. So I guess for y I >>will have to play tricks and use UTF-8 coding of static >>String values? >=20 >=20 > Yes. >=20 >=20 >>Has using Wide_String variants ever been considered? Or >>is there just "no demand"? >=20 >=20 > Ada.Exceptions only supports String for exception messages. Assert just= uses > that existing mechanism for handling messages. >=20 > As far as demand goes, you're the first person to mention it to my > knowledge -- which is suggests that the demand is low. :-) Isn't Ada 200Y going to allow anything that Unicode classifies as=20 alphanumeric in identifiers? Being able to include the name of a type or = variable in an exception message sounds like a good idea. Or the name of = another exception, when one exception is raised because another=20 exception was recieved. --=20 Bj=F6rn Persson jor ers @sv ge. b n_p son eri nu