Also, I initially tried to do B!(A.b1.offsetof) b1; a'la http://forum.dlang.org/thread/mailman.2627.1355335532.5162.digitalmars-d@puremagic.com but dmd 2.060 crashes, which is why I moved on to using a static if.