codex
Loading...
Searching...
No Matches
Functions
|
Variables
table Namespace Reference
Functions
template<std::unsigned_integral T>
constexpr int
popcnt
(
T
n
)
Variables
static constexpr auto
t
Function Documentation
◆
popcnt()
template<std::unsigned_integral T>
int table::popcnt
(
T
n
)
constexpr
Variable Documentation
◆
t
auto table::t
static
constexpr
Initial value:
= [] {
std::array<int, 1 << CHAR_BIT>
t
;
for
(
unsigned
i = 0; i !=
t
.size(); ++i)
t
[i] = std::popcount(i);
return
t
;
}()
t
#define t(a)
Definition
std2.c:10
table
Generated by
1.11.0