Chromium Code Reviews| Index: styleguide/c++/c++11.html |
| diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html |
| index 962de844e3285684f009296f53c9b723fa0a1c55..a6a7e1fa87ca27af92a66b6c09b832f8d04f452d 100644 |
| --- a/styleguide/c++/c++11.html |
| +++ b/styleguide/c++/c++11.html |
| @@ -298,6 +298,18 @@ Parameter pack</a></td> |
| </tr> |
| <tr> |
| +<td>Begin and End Non-Member Functions</td> |
| +<td><code>std::begin()</code> and <code>std::end()</code></td> |
| +<td>Allows use of free functions on any container, including |
| +fixed-size arrays</td> |
| +<td><a href="http://en.cppreference.com/w/cpp/iterator/begin"> |
| +std::begin</a> and |
| +<a href="http://en.cppreference.com/w/cpp/iterator/end"> |
| +std::end</a></td> |
| +<td>Useful for fixed-size arrays.</td> |
|
Nico
2015/11/23 16:27:51
Can you add an <a href> to the discussion thread h
|
| +</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> |
| @@ -682,18 +694,6 @@ std::array</a></td> |
| </tr> |
| <tr> |
| -<td>Begin and End Non-Member Functions</td> |
| -<td><code>std::begin()</code> and <code>std::end()</code></td> |
| -<td>Allows use of free functions on any container, including |
| -built-in arrays</td> |
| -<td><a href="http://en.cppreference.com/w/cpp/iterator/begin"> |
| -std::begin</a> and |
| -<a href="http://en.cppreference.com/w/cpp/iterator/end"> |
| -std::end</a></td> |
| -<td>Useful for built-in arrays.</td> |
| -</tr> |
| - |
| -<tr> |
| <td>Bind Operations</td> |
| <td><code>std::bind(<i>function</i>, <i>args</i>, ...)</code></td> |
| <td>Declares a function object bound to certain arguments</td> |