[webkit-dev] [webkit-reviewers] usage of auto

JF Bastien jfb at chromium.org
Tue Jan 10 21:50:02 PST 2017


>
> auto thingLength = getLengthOfThing();
> IntSize size(thingLength, 2); // Can’t tell by reading if thingLength is
> LayoutUnit or float and thus truncated here.
>

The same is true for:
int thingLength = getLengthOfThing();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20170110/3853f0c9/attachment.html>


More information about the webkit-dev mailing list