Chromium Code Reviews| Index: styleguide/c++/c++11.html |
| diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html |
| index d579de0fe927feacebddbce32bf0113fae8be65e..22037ccd73662eda6f715d4f8e0a662bf1bdef64 100644 |
| --- a/styleguide/c++/c++11.html |
| +++ b/styleguide/c++/c++11.html |
| @@ -84,6 +84,16 @@ Style Guide on <code>auto</code></a>. <a href="https://groups.google.com/a/chrom |
| </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> |
|
jamesr
2014/10/17 23:10:07
we should explicitly call out that enum classes ar
|
| + |
| +<tr> |
| <td>Final Specifier</td> |
| <td><code>final</code></td> |
| <td> Indicates that a class or function is final and cannot be overridden</td> |
| @@ -334,16 +344,6 @@ Introduction to the C++11 feature: delegating constructors</a></td> |
| </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> |
| <td>Exception Features</td> |
| <td><code>noexcept</code>, <code>exception_ptr</code>, |
| <code>current_exception()</code>, <code>rethrow_exception</code>, |