I've got this code:
Everything compiles correctly here. When I change order of includes it won't compile any more. What could possibly cause it ?Code:#include "stdafx.h" #include <bitset> void someFunction(std::string str){ std::bitset<8> firstChar[str[0]); }
error C2039: 'bitset' : is not a member of 'std'Code:#include <bitset> #include "stdafx.h" void someFunction(std::string str){ std::bitset<8> firstChar[str[0]); }