
24 Dec
2007
24 Dec
'07
1:29 p.m.
As I understand the integer.hpp does not support types over 32 bits at present. I used this library in my work and I had to implement long long type. I suppose it is not too hard to implement other needed integer types (like _int64, _int128 on Microsoft and Intel compilers) using types from boost/cstdint.hpp file. But it requires slight redesign of library (integer.hpp) and it may requires to introduce a recursion (not too deep). I would like to implement this if it interests somebody. Also I think user may get understandable error reports through dummy types like struct too_much_bits_error; or struct negative_number_of_bits_error; with no body. Best regards. Igor Mikushkin