On Wed, Sep 2, 2009 at 9:44 AM, Adam Barth <[email protected]> wrote:

> On Wed, Sep 2, 2009 at 11:31 AM, Alexey Proskuryakov<[email protected]> 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
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to