http://d.puremagic.com/issues/show_bug.cgi?id=5520

           Summary: bitfieldsOn
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: ellery-newco...@utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2011-02-02 
17:54:23 PST ---
I think it would be nice to have a variation of bitfields which generates
operations on a preexisting field, e.g.

struct Z{
 Foobar f;
 mixin(bitfieldsOn!("f.squirt.honk"
                    bool, "buzz",1,
                    uint, "fuzz",7,
 ));
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to