Commit 4f2d4101 authored by mdempsky's avatar mdempsky Committed by Commit bot

styleguide: Allow C++11 "enum class"

Review URL: https://codereview.chromium.org/667483003

Cr-Commit-Position: refs/heads/master@{#300291}
parent 0eae344c
...@@ -83,6 +83,18 @@ href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#auto">Goo ...@@ -83,6 +83,18 @@ href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#auto">Goo
Style Guide on <code>auto</code></a>. <a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/OQyYSfH9m2M">Discussion thread</a></td> Style Guide on <code>auto</code></a>. <a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/OQyYSfH9m2M">Discussion thread</a></td>
</tr> </tr>
<tr>
<td>Enumerated Type Classes</td>
<td><code>enum class <i>classname</i></code></td>
<td>Provide enums as full classes, with no implicit
conversion to booleans or integers</td>
<td><a href="http://stackoverflow.com/questions/6936030/do-we-really-need-enum-class-in-c11">
enum-class</a></td>
<td>Enum classes are still enums and follow enum naming rules
(which means SHOUTY_CASE in the <a href="http://www.chromium.org/developers/coding-style#Naming">current style guide</a>).
<a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/Q5WmkAImanc">Discussion thread</a></td>
</tr>
<tr> <tr>
<td>Final Specifier</td> <td>Final Specifier</td>
<td><code>final</code></td> <td><code>final</code></td>
...@@ -333,16 +345,6 @@ Introduction to the C++11 feature: delegating constructors</a></td> ...@@ -333,16 +345,6 @@ Introduction to the C++11 feature: delegating constructors</a></td>
<td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/0zVA8Ctx3Xo">Discussion thread</a></td> <td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/0zVA8Ctx3Xo">Discussion thread</a></td>
</tr> </tr>
<tr>
<td>Enumerated Type Classes</td>
<td><code>enum class <i>classname</i></code></td>
<td>Provide enums as full classes, with no implicit
conversion to booleans or integers</td>
<td><a href="http://stackoverflow.com/questions/6936030/do-we-really-need-enum-class-in-c11">
enum-class</a></td>
<td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/Q5WmkAImanc">Discussion thread</a></td>
</tr>
<tr> <tr>
<td>Exception Features</td> <td>Exception Features</td>
<td><code>noexcept</code>, <code>exception_ptr</code>, <td><code>noexcept</code>, <code>exception_ptr</code>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment