comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: wide_string and assertions
Date: Sun, 06 Jun 2004 13:23:20 GMT
Date: 2004-06-06T13:23:20+00:00	[thread overview]
Message-ID: <cVEwc.94837$dP1.305320@newsc.telia.net> (raw)
In-Reply-To: <47SdnXI-D-3icyLdRVn-uQ@megapath.net>

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?
> 
> 
> Yes.
> 
> 
>>Has using Wide_String variants ever been considered? Or
>>is there just "no demand"?
> 
> 
> Ada.Exceptions only supports String for exception messages. Assert just uses
> that existing mechanism for handling messages.
> 
> 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 
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 
exception was recieved.

-- 
Björn Persson

jor ers @sv ge.
b n_p son eri nu




      parent reply	other threads:[~2004-06-06 13:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03 16:23 wide_string and assertions Georg Bauhaus
2004-06-04  3:37 ` Randy Brukardt
2004-06-04  8:49   ` Martin Krischik
2004-06-05  8:42     ` Pascal Obry
2004-06-05 17:15       ` Martin Krischik
2004-06-04 17:48   ` Georg Bauhaus
2004-06-05  7:10     ` Martin Krischik
2004-06-05 11:37       ` Georg Bauhaus
2004-06-05 17:11         ` Martin Krischik
2004-06-05 18:41         ` Björn Persson
2004-06-08 16:41           ` Georg Bauhaus
2004-06-09 13:19             ` Björn Persson
2004-06-09 15:03               ` Georg Bauhaus
2004-06-09 15:26                 ` Björn Persson
2004-06-10 12:25                   ` Georg Bauhaus
2004-06-10 13:30                     ` Björn Persson
2004-06-05 12:32     ` China Björn Persson
2004-06-05 16:49       ` China, character sets Georg Bauhaus
2004-06-05 21:50       ` China Alexander E. Kopilovich
2004-06-04 20:42   ` wide_string and assertions Nick Roberts
2004-06-06 13:23   ` Björn Persson [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox