On Sat, Aug 16, 2008 at 10:32 PM, Zeljko Vrba
<zvrba@ifi.uio.no> wrote:
Integer types in C and C++ are a mess. For example, I have made a library
where a task is identified by a unique unsigned integer.
==
Another example: an external library defines its interfaces with signed integer
types, I work with unsigned types (why? to avoid even more
==
Does anyone know about an integer class that lets the user define the number of
bits used for storage, lower allowed bound and upper allowed bound for the
range? Like: template<int BITS, long low, long high> class Integer;