Catching errors early with compile-time assertions
DanSaks6/17/20054:44PMEDTForsometimenow,I'vebeendiscussinghowtousestructuresinCandC++todefinethelayoutofmemory-mappeddeviceregisters.Inmylastcolumn("SizingandAligningDeviceRegisters,"May2005,p.9),Ipre