Re: Can I avoid "shift count is negative" warning? (involves template parameter)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Phil,

You can avoid it by using specialization.

For a 32-bit int, that would be 32 positive, and 32 negative
specializations.

Maybe a bit much, but it'd work.

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux