
On 2010-03-06 18:56, Richard Webb wrote:
I opened a bug on connect about that after seeing the same error on one of my own projects: https://connect.microsoft.com/VisualStudio/feedback/details/532897/problems-...
Cool! Thanks, Richard.
The problem is that bitset in the VC10 RC has one constructor that takes an int and one that takes an unsigned long long, and if you try to call it with an unsigned long it can't work out which one to call.
Interesting. I only have VC10 beta 1 installed, which does not have such a bitset::bitset(int). So the bug was introduced very recently! Do I understand correctly that bitset::bitset(int) behaves exactly like the old bitset::bitset(unsigned long)? Assuming that sizeof(int) == sizeof(unsigned long), of course! Kind regards, Niels