Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!apple!snorkelwacker!ai-lab!rpk From: rpk@wheaties.ai.mit.edu (Robert Krajewski) Newsgroups: comp.std.c++ Subject: Re: "packed" objects Summary: Acknowledge that knowing about packing is useful Message-ID: <9715@rice-chex.ai.mit.edu> Date: 5 Aug 90 21:07:44 GMT References: <56159@microsoft.UUCP> <56165@microsoft.UUCP> <6785@netxcom.DHL.COM> <1990Aug1.171148.22119@zoo.toronto.edu> <1944@ux.acs.umn.edu> Reply-To: rpk@rice-chex.ai.mit.edu (Robert Krajewski) Organization: MIT Artificial Intelligence Laboratory Lines: 12 In article <1944@ux.acs.umn.edu> hopper@ux.acs.umn.edu (Eric Hopper) writes: > Currently the methods of structure member ordering, and packing >specifications are easy enough to figure out that you can easily write a >structure that models some hardware/OS data structure rather well. Why not give names to the packing (arrangment, really ) strategies ? The default strategy would be good for packing bit fields, being clever about inheritance, etc., while others would have definite, documented implications for the bitwise arrangement of members. -- Robert P. Krajewski Internet: rpk@ai.mit.edu ; Lotus: robert_krajewski.lotus@crd.dnet.lotus.com