From 33bafda741776ba2595c4adb56a4851a51156339 Mon Sep 17 00:00:00 2001 From: mdempsky Date: Thu, 30 Oct 2014 16:14:52 -0700 Subject: styleguide: ban inherited constructors Review URL: https://codereview.chromium.org/691803004 Cr-Commit-Position: refs/heads/master@{#302188} --- styleguide/c++/c++11.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'styleguide/c++/c++11.html') diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html index c0274d9..6d870fb 100644 --- a/styleguide/c++/c++11.html +++ b/styleguide/c++/c++11.html @@ -197,7 +197,7 @@ Are Variadic macros nonstandard?

C++11 Banned Features

-

This section will list C++11 features that are not allowed in the Chromium +

This section lists C++11 features that are not allowed in the Chromium codebase.

@@ -243,6 +243,17 @@ The __func__ Predeclared Identifier is Coming to C++ +Inherited Constructors +class Derived : Base { +
  using Base::Base; +
};
+Allow derived classes to inherit constructors from base classes +Using-declaration +Doesn't work in MSVS2013. Reevaluate once it does. Discussion thread + + + long long Type long long var= value; An integer of at least 64 bits -- cgit v1.1