public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: bkoz@gcc.gnu.org
To: bkoz@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: libstdc++/3017
Date: Mon, 04 Jun 2001 10:46:00 -0000	[thread overview]
Message-ID: <20010604174600.23608.qmail@sourceware.cygnus.com> (raw)

The following reply was made to PR libstdc++/3017; it has been noted by GNATS.

From: bkoz@gcc.gnu.org
To: bkoz@gcc.gnu.org, brendan@zen.org, gcc-gnats@gcc.gnu.org,
  nobody@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/3017
Date: 4 Jun 2001 17:44:42 -0000

 Synopsis: locale_facets.h is missing some methods
 
 Responsible-Changed-From-To: unassigned->bkoz
 Responsible-Changed-By: bkoz
 Responsible-Changed-When: Mon Jun  4 10:44:41 2001
 Responsible-Changed-Why:
     Mine.
 State-Changed-From-To: open->feedback
 State-Changed-By: bkoz
 State-Changed-When: Mon Jun  4 10:44:41 2001
 State-Changed-Why:
     Thanks Brendan. Although your attachment came through as just a ChangeLog entry, I can see what you are getting at.
     
     I suspect that the declarations should go in, so that code like the following can compile:
     
     #include <locale>
     
     class gnu_obj {};
     
     class gnu_ctype: public std::ctype<gnu_obj> 
     { };
     
     void test01()
     {
       gnu_ctype obj;
     }
     
     
     Anyway, here's the deal:
     
     1) ctype<char> ctype<wchar_t> are the only required facets for the ctype class
     
     2) I postulate that a generic ctype cannot be done, and that link errors to indicate this are better than linking a bunk program. I realize that this is a quality of implementation issue and opinions may differ, so I'm interested in hearing yours.
     
     The other thing is that ctype, in general, needs to be re-worked in favor of a true locale-independent model. This is first up on the post gcc-3 TODO list.
     
     best,
     benjamin
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3017&database=gcc


             reply	other threads:[~2001-06-04 10:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-04 10:46 bkoz [this message]
2001-06-05 18:36 libstdc++/3017 bkoz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010604174600.23608.qmail@sourceware.cygnus.com \
    --to=bkoz@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).