
Hi Nils ! Op den Sünnavend 06 März 2010 Klock 15:50:46 hest Du schreven:
There's a regression failure of Microsoft Visual C++ 10 on a unit test Can anyone here reproduce the compile error?
Yes, using msvc-10.0 RC (I hope :-))
If so, would it be helpful to replace line 20 and 21 by using parentheses? As follows:
const bitset_type initial_value1(1ul); const bitset_type initial_value2(2ul);
This results in: std_bitset.cpp(20) : error C2668: 'std::bitset<_Bits>::bitset' : ambiguous call to overloaded function with [ _Bits=8 ] c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\bitset(136): could be 'std::bitset<_Bits>::bitset(_ULonglong)' with [ _Bits=8 ] c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\bitset(127): or 'std::bitset<_Bits>::bitset(int)' with [ _Bits=8 ] while trying to match the argument list '(unsigned long)' Just drop a note if you need more testing. Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !