Bug in bitset (g++ 2.95.2)

Victor Porton porton@narod.ru
Fri Feb 2 06:44:00 GMT 2001


This is a bug in G++ 2.95.2. It refuses to compile the following correct 
program and give many error messages.

------------
#include <bitset>

int main()
{
  bitset<5>()[1];
}
------------

-- 
Victor Porton (porton@narod.ru; http://porton.narod.ru )




More information about the Gcc-bugs mailing list