This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Use bit scanning and counting builtins for std::bitset
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