This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: <bitset> in egcs?


Hi,

>  bitset is a class that handles bit strings in a machine-independent
> fashion. It includes all the manipulation you'd want to do too.
> 
A long time ago I started to implement 'bitset'. I remember that it was
rather complete (I think the I/O operators were still missing). However,
I haven't touched the code since then and I built it using gcc-2.7.2. If
you still want to give it a try, you can download it from
<ftp://ftp.informatik.uni-konstanz.de/pub/algo/personal/kuehl/bitset.tgz>.

I implemented this code when I was at the University of Constance and
I filed a copyright assignment at the FSF for libstdc++ at this time, plus
the thingy needed from my "employer" (ie. the University). Thus, I think
this code can be integrated into libstdc++ if there is any interest in doing
this.

However, AFAIK, the current version of SGI STL also includes an
implementation of 'bitset'. If there is an implementation, this is probably
more suitable than my implementation...

dk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]