Topic: Q: future of <bitstring>
Author: John Max Skaller <maxtal@suphys.physics.su.oz.au>
Date: 1995/12/01 Raw View
Ted.Belding@umich.edu (Theodore C. Belding) wrote:
>I was wondering what the current status of the <bitstring> header is.
It's obsolete. Use "vector<bool>", the intent is that
this will be implemented as a specialisation of
the vector template (to ensure only 1 bit per bool is
used, and to make things like iteration work
as efficiently as possible -- a non-trivial task
considering you can't have a reference to less than
a byte of storage)
--
John Max Skaller voice: 61-2-566-2189
81 Glebe Point Rd fax: 61-2-660-0850
GLEBE NSW 2037 email: maxtal@suphys.physics.oz.au
AUSTRALIA email: skaller@maxtal.com.au
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Author: Ted.Belding@umich.edu (Theodore C. Belding)
Date: 1995/11/24 Raw View
I was wondering what the current status of the <bitstring> header is. The
header is mentioned by Plauger as part of the proposed Standard C++
Library, but he goes on to say that the header may be replaced by the
STL. I didn't see any reference to <bitstring> or the
bitstring/bit_string class in the ANSI working paper (I did find the
bitset<N> class template for fixed-length bit strings). Is there any
variable-length bit string class in the proposed standard? Thanks for any
info!
-Ted
--
Ted Belding Ted.Belding@umich.edu or streak@engin.umich.edu
University of Michigan Division of Computer Science and Engineering
http://www-personal.engin.umich.edu/~streak/
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]