Neat project: add pointer capability to std.bitmanip.bitfields

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 2 15:59:56 PST 2015


On Wednesday, 2 December 2015 at 23:51:40 UTC, Andrei 
Alexandrescu wrote:
> On 12/02/2015 06:38 PM, deadalnix wrote:
>> Yeah, that'd be great if we could remove these scary warning 
>> about the
>> GC on these, this is only FUD. It works just fine with the GC.
>
> LSBs may work, MSBs most likely not. -- Andrei

Yes, this is checking that you are only stealing LSB and check 
that alignment allows you to steal that much. There are all the 
checks in place to make it safe.


More information about the Digitalmars-d mailing list