diff options
Diffstat (limited to 'styleguide/c++/c++11.html')
-rw-r--r-- | styleguide/c++/c++11.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html index 8cfc013..2bb4540 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> + </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, |