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, )); }
Current branch adds the feature. I do see it as useful. Once current pull is accepted, this will be resolved. https://github.com/rtcvb32/phobos/commit/620ba57cc0a860245a2bf03f7b7f5d6a1bb58312
Could you add a link to the pull request you're talking about? Same for issue 4935.
He seems to have been referring to pull requests: 1045, 719, 734 and 740 (all closed unmerged.)
Couldn't you use a union for this?
implemented in https://github.com/rtcvb32/phobos/pull/1/files