• xthexder@l.sw0.com
    link
    fedilink
    arrow-up
    39
    ·
    edit-2
    2 days ago

    Or just std::bitset<8> for C++. Bit fields are neat though, it can store weird stuff like a 3 bit integer, packed next to booleans