Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
exprF
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
exprF
10y ago
It has everything to do with includes. Just think how implicit declarations are defined.
2.
▲
by
exprF
10y ago
I dislike your choice, too. So? int count_bits(uint32_t x) { static const uint32_t mask[] = { 0x55555555, 0x33333333, 0x0f0f0f0f, 0x00ff00ff, 0x0000ffff }; for (int i = 0, shift =