Boost logo

Boost :

From: nbecker_at_[hidden]
Date: 2001-03-30 14:05:02

In working on DSP, I often need to use integer types of particular bit
widths. Although I have seen some other attempts to develop C++
classes for this purpose, they usually are not what I am looking for.

In order to simulate the effects of finite-width integers, all that is
really needed is:

1) Check during construction and assignment

2) Conversion back to int.

This of course assumes the bit width is less than or equal to the
natural size of int.

Here is my submission. Please let me know what you think.

Boost list run by bdawes at, gregod at, cpdaniel at, john at