From 79aaddd7d044b4d71f7e4330201d737d4c801ab8 Mon Sep 17 00:00:00 2001 From: davidben Date: Thu, 9 Oct 2014 17:15:40 -0700 Subject: c++11: Allow type aliases. BUG=none Review URL: https://codereview.chromium.org/644833002 Cr-Commit-Position: refs/heads/master@{#299018} --- styleguide/c++/c++11.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'styleguide/c++/c++11.html') 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? Usage should be rare. Use instead of .pump files. Discussion thread + +Aliases +using new_alias = typename +Allow parameterized typedefs +Type alias (using syntax) +Use instead of typedef, unless the header needs to be compatible with C. Discussion thread + + @@ -264,14 +272,6 @@ work in all our compilers yet.

-Aliases -using new_alias = typename -Allow parameterized typedefs -Type alias (using syntax) -Discussion thread - - - Alignment Features alignas specifier, -- cgit v1.1