HI all
I need to build up a bitset object - 90-bits wide - but i can't seem to initialise it. The constructor is probably limited to a 64-bit number? Can i override this (if it is the case)?
Code:
bitset<90> hexValLs90(0xFFFFFFFFFFFFFFFFF);
Code:
g++ -Wall -g -o netdriver netdriver.cpp
netdriver.cpp:331:25: warning: integer constant is too large for its type
netdriver.cpp: In function `int writeSimPatternHeader(std::ofstream&, long int*)':
netdriver.cpp:331: error: integer constant is too large for "long" type
I see from this page, that it should work perfectly well? Any ideas?
Cheers
S