4 ms·
C and C++ both have support for bit-fields. https://en.wikipedia.org/wiki/Bit_field#Examples https://en.wikipedia.org/wiki/Bit_field#Examples https://fbb-git.
by dzogchen 2y ago
C and C++ both have support for bit-fields.
https://en.wikipedia.org/wiki/Bit_field#Examples https://en.wikipedia.org/wiki/Bit_field#Examples
https://fbb-git.gitlab.io/cppannotations/cppannotations/html/index.html https://fbb-git.gitlab.io/cppannotations/cppannotations/html...
https://en.cppreference.com/w/cpp/language/bit_field https://en.cppreference.com/w/cpp/language/bit_field
- dolmen 2y agoHowever they lack support for pointers to those fields. Which zig has.