[webkit-dev] DEFINE_STATIC_LOCAL

Yong Li yong.li.webkit at gmail.com
Thu Oct 29 12:13:34 PDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20091029/379962e7/attachment.html>


More information about the webkit-dev mailing list