Index: styleguide/c++/c++11.html |
diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html |
index e132f6853de48402be9d4479d42fda729488fec5..7ea0d1744dfad658244176c43540cb64dc4f9a76 100644 |
--- a/styleguide/c++/c++11.html |
+++ b/styleguide/c++/c++11.html |
@@ -274,6 +274,14 @@ Parameter pack</a></td> |
</tr> |
<tr> |
+<td>Access to underlying <code>std::vector</code> data</td> |
+<td><code>v.data()</code></td> |
+<td>Returns a pointer to a <code>std::vector</code>'s underlying data, accounting for empty vectors.</td> |
+<td><a href="http://en.cppreference.com/w/cpp/container/vector/data">std::vector::data</a></td> |
+<td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/cxx/16V7fmtbzok">Discussion thread</a>.</td> |
+</tr> |
+ |
+<tr> |
<td>Containers containing movable types</td> |
<td><code>vector<scoped_ptr></code></td> |
<td>Enables containers that contain move-only types like <code>scoped_ptr</code></td> |