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

Side by Side Diff: styleguide/c++/c++11.html

Issue 1669683002: styleguide: Fix/clarify the cbegin/cend rules are for container methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cbegin: upload Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2014 The Chromium Authors. All rights reserved. 3 Copyright 2014 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 <html> 7 <html>
8 <head> 8 <head>
9 <meta charset="utf-8"> 9 <meta charset="utf-8">
10 <title>C++11 use in Chromium</title> 10 <title>C++11 use in Chromium</title>
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 <td>Complex Inverse Trigonometric and Hyperbolic Functions</td> 800 <td>Complex Inverse Trigonometric and Hyperbolic Functions</td>
801 <td>Functions within <code>&lt;complex&gt;</code></td> 801 <td>Functions within <code>&lt;complex&gt;</code></td>
802 <td>Adds inverse trigonomentric and hyperbolic non-member functions to 802 <td>Adds inverse trigonomentric and hyperbolic non-member functions to
803 the <code>&lt;complex&gt;</code> library.</td> 803 the <code>&lt;complex&gt;</code> library.</td>
804 <td><a href="http://en.cppreference.com/w/cpp/numeric/complex">std::complex</a>< /td> 804 <td><a href="http://en.cppreference.com/w/cpp/numeric/complex">std::complex</a>< /td>
805 <td></td> 805 <td></td>
806 </tr> 806 </tr>
807 807
808 <tr> 808 <tr>
809 <td>Constant Iterator Methods on Containers</td> 809 <td>Constant Iterator Methods on Containers</td>
810 <td><code>std::cbegin()</code> and <code>std::cend()</code></td> 810 <td><code>std::vector::cbegin()</code> and <code>std::vector::cend()</code></td>
811 <td>Enforces iteration methods that don't change container contents</td> 811 <td>Enforces iteration methods that don't change container contents</td>
812 <td>TODO: documentation link</td> 812 <td><a href="http://en.cppreference.com/w/cpp/container/vector/begin">std::vecto r::cbegin<a></td>
813 <td></td> 813 <td>This applies to all containers, std::vector is just an example. <a href="htt ps://groups.google.com/a/chromium.org/d/topic/cxx/cS83F_buqLM/discussion">Discus sion thread</a></td>
814 </tr> 814 </tr>
815 815
816 <tr> 816 <tr>
817 <td>Construct Elements in Containers</td> 817 <td>Construct Elements in Containers</td>
818 <td><code>emplace()</code>,<code>emplace_back()</code>, 818 <td><code>emplace()</code>,<code>emplace_back()</code>,
819 <code>emplace_front()</code>, <code>emplace_hint()</code></td> 819 <code>emplace_front()</code>, <code>emplace_hint()</code></td>
820 <td>Constructs elements directly within a container without a copy 820 <td>Constructs elements directly within a container without a copy
821 or a move</td> 821 or a move</td>
822 <td>TODO: documentation link</td> 822 <td>TODO: documentation link</td>
823 <td>Use where element construction within a container 823 <td>Use where element construction within a container
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 C++ Style Guide</a>. However, may be useful for 1109 C++ Style Guide</a>. However, may be useful for
1110 consuming non-ASCII data.</td> 1110 consuming non-ASCII data.</td>
1111 </tr> 1111 </tr>
1112 1112
1113 </tbody> 1113 </tbody>
1114 </table> 1114 </table>
1115 1115
1116 </div> 1116 </div>
1117 </body> 1117 </body>
1118 </html> 1118 </html>
OLDNEW
« 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