public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "doko at cs dot tu-berlin dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/14493] No std::bad_alloc::what() const
Date: Tue, 09 Mar 2004 05:19:00 -0000 [thread overview]
Message-ID: <20040309051903.24125.qmail@sources.redhat.com> (raw)
In-Reply-To: <20040308221042.14493.debian-gcc@lists.debian.org>
------- Additional Comments From doko at cs dot tu-berlin dot de 2004-03-09 05:19 -------
Subject: Re: No std::bad_alloc::what() const
[resending for the inclusion to the Debian BTS]
Phil Edwards writes:
> close 236912
> thanks
>
> This bug report reinforces my opinion that bug reports consisting of
> claims of nonconformance, but not accompanied by a testcase, should be
> immediately closed.
>
>
> On Mon, Mar 08, 2004 at 11:15:05PM -0000, bangerth at dealii dot org wrote:
> > For Andrew: the code takes the respective method of the base
> > class.
>
> More to the point, it doesn't matter how it's implemented, and the user
> should not care. It only matters that
>
> std::bad_alloc foo;
> std::cerr << foo.what() << std::endl;
>
> works, which the submitter didn't apparently try. Looking at the original
> Debian bug report, there are no compiler error messages, just a "my code
> doesn't do what I want it to do, so it must be your fault"-style complaint.
>
>
> > I believe that libstdc++ is actually conforming, since the method exists
> > (even if in the base class)
>
> Correct. There is no requirement on implementation, only behavior.
>
> > and it returns an implementation defined
> > string (as required by the standard).
>
> Correct. As described in the documentation.
>
>
> --
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14493
next prev parent reply other threads:[~2004-03-09 5:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-08 22:10 [Bug libstdc++/14493] New: new: " debian-gcc at lists dot debian dot org
2004-03-08 22:37 ` [Bug libstdc++/14493] " pinskia at gcc dot gnu dot org
2004-03-08 23:15 ` [Bug libstdc++/14493] " bangerth at dealii dot org
2004-03-09 4:14 ` phil at jaj dot com
2004-03-09 4:14 ` pme at gcc dot gnu dot org
2004-03-09 4:45 ` zack at gcc dot gnu dot org
2004-03-09 5:19 ` doko at cs dot tu-berlin dot de [this message]
2004-03-09 18:32 ` jtv at xs4all dot nl
2004-03-09 19:32 ` phil at jaj dot com
2004-03-09 19:48 ` pme at gcc dot gnu dot org
2004-03-09 20:14 ` Zack Weinberg
2004-03-09 20:14 ` zack at codesourcery dot com
2004-03-10 1:12 ` giovannibajo at libero dot it
2004-03-11 7:35 ` pme at gcc dot gnu dot org
2004-03-11 10:05 ` gdr at integrable-solutions dot net
2004-03-11 15:51 ` bangerth at dealii dot org
2004-03-11 15:52 ` bangerth at dealii dot org
2004-04-27 13:54 ` [Bug libstdc++/14493] std::bad_alloc::what() does not explain what happened pinskia at gcc dot gnu dot org
2004-08-05 14:37 ` pcarlini at suse dot de
2004-08-05 15:01 ` pcarlini at suse dot de
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=20040309051903.24125.qmail@sources.redhat.com \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@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).