Chromium Code Reviews| Index: styleguide/c++/c++11.html |
| diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html |
| index 8cfc0130b80c2f58f507360aa66b1148fbf9b79b..2bb4540065000baa7915a7f9736c950556ce6af8 100644 |
| --- a/styleguide/c++/c++11.html |
| +++ b/styleguide/c++/c++11.html |
| @@ -156,6 +156,14 @@ Are Variadic macros nonstandard?</a></td> |
| <td>Usage should be rare. Use instead of .pump files. <a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/6ItymeMXpMc">Discussion thread</a></td> |
| </tr> |
| +<tr> |
| +<td>Aliases</td> |
| +<td><code>using <i>new_alias</i> = <i>typename</i></code></td> |
| +<td>Allow parameterized typedefs</td> |
| +<td><a href="http://en.cppreference.com/w/cpp/language/type_alias">Type alias (using syntax)</a></td> |
| +<td>Use instead of typedef, unless the header needs to be compatible with C. <a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/8dOAMzgR4ao">Discussion thread</a></td> |
| +</tr> |
| + |
|
Avi (use Gerrit)
2014/10/10 13:30:45
Can you do a follow up patch to put this table row
davidben
2014/10/10 16:28:33
Whoops. Somehow I didn't notice that. Done:
https
|
| </tbody> |
| </table> |
| @@ -264,14 +272,6 @@ work in all our compilers yet.</p> |
| </tr> |
| <tr> |
| -<td>Aliases</td> |
| -<td><code>using <i>new_alias</i> = <i>typename</i></code></td> |
| -<td>Allow parameterized typedefs</td> |
| -<td><a href="http://en.cppreference.com/w/cpp/language/type_alias">Type alias (using syntax)</a></td> |
| -<td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/8dOAMzgR4ao">Discussion thread</a></td> |
| -</tr> |
| - |
| -<tr> |
| <td>Alignment Features</td> |
| <td> |
| <code>alignas</code> specifier, |