• Re: what you can do with bitfields

    From Lawrence D'Oliveiro@21:1/5 to fir on Fri Nov 29 02:46:17 2024
    On Thu, 28 Nov 2024 14:39:43 +0100, fir wrote:

    i use them but i never fully chcked what i can do with them ...

    One problem with C is that bitfields can only have static offsets and
    sizes. If these were dynamic, you could express much more powerful manipulations more conveniently than with shifting and masking.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)