[Webkit-unassigned] [Bug 29187] Don't inline ~ListRefPtr() to workaround winscw compiler forward declaration limitation.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 16 08:26:08 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29187


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com




--- Comment #7 from Darin Adler <darin at apple.com>  2009-09-16 08:26:08 PDT ---
(In reply to comment #6)
> (From update of attachment 39449 [details])
> Maybe I don't understand C++ well enough, but I don't understand how you can
> have non-inline template code in a header.

You're right to doubt your C++ knowledge here, Eric. Template code goes in
headers; whether it's marked inline or not is not important. It's not correct
to have a non-template function in a header unless it's marked inline, but that
does not apply to function templates.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list