[webkit-dev] PSA: Don't try to hold onto temporaries with references

Darin Adler darin at apple.com
Mon Oct 4 08:17:16 PDT 2010


The standard is clear on this. The temporary does persist for the lifetime of the reference.

See <https://bugs.webkit.org/show_bug.cgi?id=47055#c4>, a comment I posted yesterday morning, for the reference to the appropriate section in the C++ standard.

    -- Darin



More information about the webkit-dev mailing list