[Webkit-unassigned] [Bug 32828] WTF should have an arraysize macro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 21 10:34:22 PST 2009


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





--- Comment #1 from Darin Adler <darin at apple.com>  2009-12-21 10:34:21 PST ---
Seems fine. I'd prefer to use a function template rather than a macro. With a 
function template I think you can make it a compile time error to accidentally
use it on a pointer or on an argument of array type without a size. I'd also
suggest not using the name arraysize because that's all lower case and not our
normal style.

-- 
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