[webkit-dev] DEFINE_STATIC_LOCAL

Eric Seidel eric at webkit.org
Thu Oct 29 12:55:22 PDT 2009


Yes.
https://bugs.webkit.org/show_bug.cgi?id=27980#c44

On Thu, Oct 29, 2009 at 12:13 PM, Yong Li <yong.li.webkit at gmail.com> wrote:
> I just noticed the following code:
>
> #else
> #define DEFINE_STATIC_LOCAL(type, name, arguments) \
>     static type& name = *new type arguments
> #endif
>
> Is there any reason of doing this? For example, we want to prevent dtors of
> all static objects from being called?
>
> Best regards,
>
> Yong Li
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>


More information about the webkit-dev mailing list