From -8193033076503521370 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f78e5,40bc29384a77c552 X-Google-Attributes: gidf78e5,public X-Google-ArrivalTime: 2002-04-07 12:28:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail From: "nmtop40" Newsgroups: comp.std.c++ Subject: Re: Messages facet and wide character filename Date: Sun, 7 Apr 2002 19:27:15 GMT Approved: Fergus Henderson , moderator of comp.std.c++ Message-ID: <3cb07ec7$1@news1.homechoice.co.uk> References: <3caa1ba0$0$9888$4c41069e@reader1.ash.ops.us.uu.net> X-Trace: mail2news.demon.co.uk 1018207639 mail2news:21312 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 X-Original-NNTP-Posting-Host: 10.16.17.58 X-Original-Trace: 7 Apr 2002 18:15:51 GMT, 10.16.17.58 Lines: 25 Xref: archiver1.google.com comp.std.c++:10426 > 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 agree about filenames though. --- [ 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 ]