[webkit-dev] unwritten rules of webkit style
Peter Kasting
pkasting at google.com
Wed Sep 2 09:47:44 PDT 2009
On Wed, Sep 2, 2009 at 9:44 AM, Adam Barth <abarth at webkit.org> wrote:
> On Wed, Sep 2, 2009 at 11:31 AM, Alexey Proskuryakov<ap at webkit.org> wrote:
> > As an aside, is there any practical difference between "static const" and
> > "const" in C++? The only difference I'm aware of is that the former is
> > deprecated in the standard.
>
> I bet they're different in the light of const_cast, but const_cast
> shines a lot of light on things that shouldn't be visible.
>
>
Darin and I have commented on this topic in a separate thread. However I'll
say here that the constness of the two objects is precisely the same (no
const_cast<>() difference).
PK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090902/b78e053c/attachment.html>
More information about the webkit-dev
mailing list