From: John H. on 9 Dec 2009 05:59 On Dec 7, 1:58 pm, ImpalerCore <jadil...(a)gmail.com> wrote: > I have some macros that use the construct '~((-1) << (WIDTH))' to > generate masks. You might consider looking at std::bitset to see if it meets your needs: http://www.sgi.com/tech/stl/bitset.html -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ]
First
|
Prev
|
Pages: 1 2 Prev: C++, C99 and floating point exceptions Next: C++ analog of setvbuf() ? |