Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Unified Diff: styleguide/c++/c++11.html

Issue 600953002: Allow nullptr use in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nullptrallow: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: styleguide/c++/c++11.html
diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html
index 8cd4315d6638a3db38573c0b84468afdf2bb7703..edebb9a727913e1e7f991892c61589253da2612a 100644
--- a/styleguide/c++/c++11.html
+++ b/styleguide/c++/c++11.html
@@ -84,6 +84,18 @@ and <code>&lt;inttypes&gt;</code></td>
<td>Already in common use in the codebase. Approved without discussion.</td>
</tr>
+<tr>
+<td>Null Pointer Constant</td>
+<td><code>nullptr</code></td>
+<td>Declares a type-safe null pointer</td>
+<td>TODO: documentation link</td>
+<td>Recommended for new code.
+<a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/4mijeJHzxLg">Discussion thread</a>.
+<a href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#0_and_nullptr/NULL">Google Style Guide</a>.
+Note: <code>std::nullptr_t</code> is a library feature and not available.
+</td>
+</tr>
+
</tbody>
</table>
@@ -331,15 +343,6 @@ Non-static data members</a></td>
</tr>
<tr>
-<td>Null Pointer Constant</td>
-<td><code>nullptr</code></td>
-<td>Declares a type-safe null pointer</td>
-<td>TODO: documentation link</td>
-<td><a href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#0_and_nullptr/NULL">Google Style Guidwe</a>.
-</td>
-</tr>
-
-<tr>
<td>Overrides</td>
<td><code>override</code></td>
<td>Indicates that a class or function overrides a base implementation</td>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698