Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-12 12:38:54


"Kevin S. Van Horn" <Kevin.VanHorn_at_[hidden]> writes:

> A local business had need of a facility to pack arbitrary-sized bitfields into
> exactly 64 bits, with a guarantee of no padding. I wrote this class as a
> generalization of that need, and would like your comments as to whether this
> would be appropriate for submission to Boost. You can download the source
> code, rough draft of documentation, and regression test from
>
> http://www.cs.ndsu.nodak.edu/~kvanhorn/bitstruct.tgz (gzipped tar file)
>
> or
>
> http://www.cs.ndsu.nodak.edu//~kvanhorn/bitstruct.zip (ZIP file).
>
> I have included the rough draft of the documentation below.
>
> -------------------------------------------------------------------
>
> BITSTRUCT

Looks cool. I don't usually need such a thing, though. Could you give
some examples of likely use cases?

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

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