[webkit-dev] Compile-time assertions for object sizes

Andreas Kling kling at webkit.org
Thu Sep 29 13:48:12 PDT 2011


On Thu, Sep 29, 2011 at 10:43 PM, Darin Adler <darin at apple.com> wrote:

> On Sep 29, 2011, at 1:40 PM, Andreas Kling wrote:
>
> > Good idea in general, though it doesn't work for InlineBox since its bits
> are spread across public, protected and private.
> > I'm not sure it's worth losing those classifications for the sake of the
> anti-bloat mechanism.
>
> We wouldn’t have to lose those classifications. We’d just have to lose our
> convention that all public are grouped together, etc. We can intersperse
> public/protected/private keywords between bitfield definitions.


Right, but those keywords would pertain to the struct containing the
bitfields, not InlineBox itself. Or maybe I'm misunderstanding you?

-Kling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110929/759eac63/attachment.html>


More information about the webkit-dev mailing list