TLDR: The
public Google C++ styleguide has been updated with a variety of changes, most significantly allowing mutable reference arguments.
Recently the public Google styleguide was updated with a number of significant changes. Here are the biggest ones, and how they affect Chromium:
No effect:
Affects Chromium but not Blink:
- For output and in/out parameters that cannot be null, Google now prefers mutable references, instead of pointers. This is roughly equivalent to existing Blink style; the Blink styleguide has therefore been updated to remove mention of this, since it is no longer a divergence from Chromium style. Note that return values are still preferred over output parameters, including when a function needs to return multiple values.
Affects Chromium and Blink:
PK
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
blink-dev+...@chromium.org.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAAHOzFCjkzCQSJNkOnt6Wh%3DDq1KEoNp56h_60M6iGTJtTY_LMw%40mail.gmail.com.