[patch] Use bit scanning and counting builtins for std::bitset
Phil Edwards
phil@jaj.com
Mon Feb 3 18:46:00 GMT 2003
On Mon, Feb 03, 2003 at 11:20:28AM -0600, Benjamin Kosnik wrote:
>
> also, it might be possible to completely eliminate the macro CHAR_BIT
> now. If possible, this should be done.
Yep, the compiler defines __CHAR_BIT__ for us unconditionally.
The _GLIBCPP_BITSET_BITS_PER_WORD macro can also be redefined, if we feel
like pulling in numeric_limits.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002
More information about the Libstdc++
mailing list