| Index: styleguide/c++/c++11.html
|
| diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html
|
| index ed917712055c952f72e72e15b9530463eedf64d6..cb572957b480aa55d45a2f1cf9cfdbd9c2d3026e 100644
|
| --- a/styleguide/c++/c++11.html
|
| +++ b/styleguide/c++/c++11.html
|
| @@ -459,6 +459,15 @@ std::exception</a></td>
|
| </tr>
|
|
|
| <tr>
|
| +<td>Ref-qualified Member Functions</td>
|
| +<td><code>class T {<br/> void f() & {}<br/> void f() && {}<br/>};<br/>t.f(); // first<br/>T().f(); // second<br/>std::move(t).f(); // second</code></td>
|
| +<td>Allows class member functions to only bind to |this| as an rvalue or lvalue.</td>
|
| +<td><a href="http://en.cppreference.com/w/cpp/language/member_functions">
|
| +Member functions</a></td>
|
| +<td>Banned in the google3 C++11 library style guide, but being considered for use in bind/callback in google3 and the standard library.</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>
|
|
|