| Index: styleguide/c++/c++11.html
|
| diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html
|
| index 7cc042dbc5d3d1373c30599d791f7352a4140f28..8fd39829ba3c2006d219f9251148c9896c50ced3 100644
|
| --- a/styleguide/c++/c++11.html
|
| +++ b/styleguide/c++/c++11.html
|
| @@ -183,6 +183,16 @@ enum <i>enumname</i> : <i>base-type</i></code></td>
|
| </tr>
|
|
|
| <tr>
|
| +<td>Inherited Constructors</td>
|
| +<td><code>class Derived : Base {<br />
|
| + using Base::Base;<br />
|
| +};</code></td>
|
| +<td>Allows derived classes to inherit constructors from base classes</td>
|
| +<td><a href="http://en.cppreference.com/w/cpp/language/using_declaration#Inheriting_constructors">Inheriting constructors</a></td>
|
| +<td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/BULzgIKZ-Ao">Discussion thread</a></td>
|
| +</tr>
|
| +
|
| +<tr>
|
| <td>Lambda Expressions</td>
|
| <td><code>[<i>captures</i>](<i>params</i>) -> <i>ret</i> { <i>body</i> }</code></td>
|
| <td>Anonymous functions</td>
|
| @@ -676,16 +686,6 @@ work in all our compilers yet.</p>
|
| </tr>
|
|
|
| <tr>
|
| -<td>Inherited Constructors</td>
|
| -<td><code>class Derived : Base {<br />
|
| - using Base::Base;<br />
|
| -};</code></td>
|
| -<td>Allow derived classes to inherit constructors from base classes</td>
|
| -<td><a href="http://en.cppreference.com/w/cpp/language/using_declaration">Using-declaration</a></td>
|
| -<td>Reevaluate now that MSVS2015 is available. <a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/BULzgIKZ-Ao">Discussion thread</a></td>
|
| -</tr>
|
| -
|
| -<tr>
|
| <td>Raw String Literals</td>
|
| <td><code>string <i>var</i>=R"(<i>raw_string</i>)";</code></td>
|
| <td>Allows a string to be encoded without any escape sequences, easing parsing in regex expressions, for example</td>
|
|
|