From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Pinski To: Ed Parcell Cc: gcc@gnu.org Subject: Re: bug in libstdc++ bitset Date: Mon, 19 Aug 2002 06:30:00 -0000 Message-id: References: <1029762313.2239.2.camel@tedlinux> X-SW-Source: 2002-08/msg01087.html After changing it to let it compile under 3.x, #include #include using namespace std; int main() { bitset <33> b; b.set(32); cout << b << ' ' << b.count() << ' ' << b.none() << '\n'; } With the current cvs, it compiles fine and outputs: 100000000000000000000000000000000 1 0 which looks to be the right answer. Thanks, Andrew Pinski On Monday, August 19, 2002, at 09:05 , Ed Parcell wrote: