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

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 2 15:51:15 PST 2015


On 12/02/2015 06:04 PM, ZombineDev wrote:
> On Wednesday, 2 December 2015 at 19:39:47 UTC, Andrei Alexandrescu wrote:
>> Once done, this is a fantastic example of (a) the power of generative
>> programming, and (b) the advantages of using library facilities
>> instead of built-in features.
>>
>> https://issues.dlang.org/show_bug.cgi?id=15397
>>
>> Who would want to take it?
>>
>>
>> Andrei
>
> So, something like
> http://dlang.org/phobos/std_bitmanip.html#.taggedPointer?

Sigh, yes. Both taggedPointer and taggedClassRef should be features of 
bitfields, not distinct names. One good thing to do would be to 
integrate those within bitfields, and then later perhaps undocumented. 
-- Andrei



More information about the Digitalmars-d mailing list