| Index: styleguide/c++/c++11.html
|
| diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html
|
| index 6ca2eb8555a9c76aa5141af9e03cf3c891342486..d1b26808d7c27a07fb79ce09dd3a96b7e9eae665 100644
|
| --- a/styleguide/c++/c++11.html
|
| +++ b/styleguide/c++/c++11.html
|
| @@ -173,6 +173,23 @@ Local types, types without linkage and unnamed types as template arguments</a></
|
| </tr>
|
|
|
| <tr>
|
| +<td>Non-Static Class Member Initializers</td>
|
| +<td>
|
| +<code>
|
| +class C {<br />
|
| + <i>type</i> <i>var</i> = <i>value</i>;<br/>
|
| + C() // copy-initializes <i>var</i><br/>
|
| +</code>
|
| +<td>Allows non-static class members to be initialized at their definitions (outside constructors)</td>
|
| +<td><a href="http://en.cppreference.com/w/cpp/language/data_members">
|
| +Non-static data members</a></td>
|
| +<td><a href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Initialization">Google
|
| +Style Guide</a>.
|
| +<a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/zqB-DySA4V0">Discussion thread</a>
|
| +</td>
|
| +</tr>
|
| +
|
| +<tr>
|
| <td>Null Pointer Constant</td>
|
| <td><code>nullptr</code></td>
|
| <td>Declares a type-safe null pointer</td>
|
| @@ -434,20 +451,6 @@ std::exception</a></td>
|
| </tr>
|
|
|
| <tr>
|
| -<td>Non-Static Class Member Initializers</td>
|
| -<td>
|
| -<code>
|
| -class C {<br />
|
| - <i>type</i> <i>var</i> = <i>value</i>;<br/>
|
| - C() // copy-initializes <i>var</i><br/>
|
| -</code>
|
| -<td>Allows non-static class members to be initialized at their definitions (outside constructors)</td>
|
| -<td><a href="http://en.cppreference.com/w/cpp/language/data_members">
|
| -Non-static data members</a></td>
|
| -<td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/zqB-DySA4V0">Discussion thread</a></td>
|
| -</tr>
|
| -
|
| -<tr>
|
| <td>Union Class Members</td>
|
| <td><code>union <i>name</i> { <i>class</i> <i>var</i>}</code></td>
|
| <td>Allows class type members</td>
|
|
|