Boost logo

Boost :

From: Igor Mikushkin (igor.mikushkin_at_[hidden])
Date: 2007-12-24 08:29:21


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk