This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bug in bitset (g++ 2.95.2)


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)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]