Bug in bitset

Tomasz Czajka tczajka@duch.mimuw.edu.pl
Mon Nov 5 10:24:00 GMT 2001


If you try to shift a bitset by a multiple of 32 bits, you get
incorrect answers. It is to do with the fact that usually 1>>32 == 1.

Sincerely,
Tomek




More information about the Libstdc++ mailing list