#include <bitset>
usingnamespace std;
class Foo
{
bitset<32> bs;
};
int main()
{
}
Compiles just fine for me.
You probably have syntax errors somewhere, which is why you're getting a syntax error ( =P ). I won't be able to tell you what you're doing wrong without seeing code.