From: Ed Parcell <ed@edparcell.com>
To: gcc@gnu.org
Subject: bug in libstdc++ bitset
Date: Mon, 19 Aug 2002 06:05:00 -0000 [thread overview]
Message-ID: <1029762313.2239.2.camel@tedlinux> (raw)
Hi,
Sorry that this is almost definitely the wrong place to send this to.
Anyway, here goes. bitset::none() and bitset::any() appear to only look
at the first word. Here is example code to exhibit this:
#include <bitset>
#include <iostream>
void main() {
bitset <33> b;
b.set(32);
cout << b << ' ' << b.count() << ' ' << b.none() << '\n';
}
I am using libstdc++ in the debian package libstdc++2.10, which has the
description "This is not a final release, but taken from the CVS
gcc-2_95-branch
(dated 2001-10-02)". This bug also occurs on libstdc++3-3.0.1-3 I
believe.
Thanks,
Ed.
next reply other threads:[~2002-08-19 6:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-19 6:05 Ed Parcell [this message]
2002-08-19 6:30 ` Andrew Pinski
2002-08-19 7:57 ` Phil Edwards
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=1029762313.2239.2.camel@tedlinux \
--to=ed@edparcell.com \
--cc=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).