From 6416844386378168259
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,40bc29384a77c552
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-04-07 21:28:06 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: "Edward Diener" <eldiener@earthlink.net>
Newsgroups: comp.std.c++
Subject: Re: Messages facet and wide character filename
Date: Mon,  8 Apr 2002 04:27:35 GMT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <em7s8.24258$nt1.1974256@newsread2.prod.itd.earthlink.net>
References: <Pcnq8.11088$ml2.843478@newsread1.prod.itd.earthlink.net> <3caa1ba0$0$9888$4c41069e@reader1.ash.ops.us.uu.net> <pkrq8.11737$nt1.950317@newsread2.prod.itd.earthlink.net> <3cb07ec7$1@news1.homechoice.co.uk>
X-Trace: mail2news.demon.co.uk 1018240060 mail2news:5539 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Date: Sun, 07 Apr 2002 19:35:54 PDT
Lines: 39
Xref: archiver1.google.com comp.std.c++:10428

"nmtop40" <nmtop40@nmtop40.homechoice.co.uk> wrote in message
news:3cb07ec7$1@news1.homechoice.co.uk...
> > In a previous post I brought up the situation, which may be seen as
> another
> > problem but which I see as related, that the standard exception
hierarchy
> > always returns a string of chars for its What() message and suggested
that
> > the hierarchy be templatized ( like basic_string itself ) on a character
> > type so that wide character exceptions would return a string of wchar_t
> for
> > its What() message.
>
> There is no law that exceptions you throw have to be std::exception, and
> even
> if you do you can derive another class from it that has a const wchar_t *
> wwhat()
> method.

I have already done that but I still belive that the std::exception
hierarchy should support wide character What() strings.

> I agree about filenames though.

Thanks, but I believe P.J.Plauger who answered my original post decided to
bail out when I suggested that a change should be made to the C++ standard
library in that regard. From both my posts, I gather that to ask for a
change in the C++ standard, one has to make a Proposal on this NG somehow.
Of course in another previous post I suggested
that a means to make a formal proposal be specified and I was told to do so
on this NG. Unfortunately I do not know the magic words to accomplish this
and was evidently relying on just reason and discussion to do so.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



