3 ms·
> you can’t store the lookup table with constexpr IIRC you can store a null-terminated string as constexpr, right? If so, then there's your lookup table.
by TeMPOraL 6y ago
> you can’t store the lookup table with constexpr
IIRC you can store a null-terminated string as constexpr, right? If so, then there's your lookup table.
- Google234 6y agoAlso I think absl has a constexpr map too.
- layoutIfNeeded 6y agoBut string literals are const, so you won’t be able to fill the lookup table based on the generator polynomial.