OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright 2014 The Chromium Authors. All rights reserved. | 3 Copyright 2014 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 <html> | 7 <html> |
8 <head> | 8 <head> |
9 <meta charset="utf-8"> | 9 <meta charset="utf-8"> |
10 <link rel="stylesheet" href="c++11.css"> | 10 <link rel="stylesheet" href="c++11.css"> |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 190 |
191 </tbody> | 191 </tbody> |
192 </table> | 192 </table> |
193 | 193 |
194 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> | 194 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> |
195 | 195 |
196 <p>This section lists features that are not allowed to be used yet. | 196 <p>This section lists features that are not allowed to be used yet. |
197 | 197 |
198 <h3 id="blacklist_banned">C++11 Banned Features</h3> | 198 <h3 id="blacklist_banned">C++11 Banned Features</h3> |
199 | 199 |
200 <p>This section will list C++11 features that are not allowed in the Chromium | 200 <p>This section lists C++11 features that are not allowed in the Chromium |
201 codebase. | 201 codebase. |
202 </p> | 202 </p> |
203 | 203 |
204 <table id="banned_list" class="unlined striped"> | 204 <table id="banned_list" class="unlined striped"> |
205 <tbody> | 205 <tbody> |
206 | 206 |
207 <tr> | 207 <tr> |
208 <th style='width:240px;'>Feature or Library</th> | 208 <th style='width:240px;'>Feature or Library</th> |
209 <th style='width:240px;'>Snippet</th> | 209 <th style='width:240px;'>Snippet</th> |
210 <th style='width:240px;'>Description</th> | 210 <th style='width:240px;'>Description</th> |
(...skipping 25 matching lines...) Expand all Loading... |
236 <td>Function Local Variable</td> | 236 <td>Function Local Variable</td> |
237 <td><code>__func__</code></td> | 237 <td><code>__func__</code></td> |
238 <td>Provides a local variable of the name of the enclosing | 238 <td>Provides a local variable of the name of the enclosing |
239 function for logging purposes</td> | 239 function for logging purposes</td> |
240 <td><a href="http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=
338"> | 240 <td><a href="http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=
338"> |
241 The __func__ Predeclared Identifier is Coming to C++</a></td> | 241 The __func__ Predeclared Identifier is Coming to C++</a></td> |
242 <td>Doesn't work in MSVS2013. Reevaluate once it does. <a href="https://groups.g
oogle.com/a/chromium.org/forum/#!topic/chromium-dev/ojGfcgSDzHM">Discussion thre
ad</a></td> | 242 <td>Doesn't work in MSVS2013. Reevaluate once it does. <a href="https://groups.g
oogle.com/a/chromium.org/forum/#!topic/chromium-dev/ojGfcgSDzHM">Discussion thre
ad</a></td> |
243 </tr> | 243 </tr> |
244 | 244 |
245 <tr> | 245 <tr> |
| 246 <td>Inherited Constructors</td> |
| 247 <td><code>class Derived : Base { |
| 248 <br /> using Base::Base; |
| 249 <br />};</code></td> |
| 250 <td>Allow derived classes to inherit constructors from base classes</td> |
| 251 <td><a href="http://en.cppreference.com/w/cpp/language/using_declaration">Using-
declaration</a></td> |
| 252 <td>Doesn't work in MSVS2013. Reevaluate once it does. <a |
| 253 href="https://groups.google.com/a/chromium.org/d/msg/chromium-dev/BULzgIKZ-Ao/PL
O7_GoVNvYJ">Discussion thread</a></td> |
| 254 </tr> |
| 255 |
| 256 <tr> |
246 <td><code>long long</code> Type</td> | 257 <td><code>long long</code> Type</td> |
247 <td><code>long long <i>var</i>= <i>value</i>;</code></td> | 258 <td><code>long long <i>var</i>= <i>value</i>;</code></td> |
248 <td>An integer of at least 64 bits</td> | 259 <td>An integer of at least 64 bits</td> |
249 <td><a href="http://en.cppreference.com/w/cpp/language/types"> | 260 <td><a href="http://en.cppreference.com/w/cpp/language/types"> |
250 Fundamental types</a></td> | 261 Fundamental types</a></td> |
251 <td>Use an stdint.h type if you need a 64bit number. <a href="https://groups.goo
gle.com/a/chromium.org/forum/#!topic/chromium-dev/RxugZ-pIDxk">Discussion thread
</a></td> | 262 <td>Use an stdint.h type if you need a 64bit number. <a href="https://groups.goo
gle.com/a/chromium.org/forum/#!topic/chromium-dev/RxugZ-pIDxk">Discussion thread
</a></td> |
252 </tr> | 263 </tr> |
253 | 264 |
254 <tr> | 265 <tr> |
255 <td>Raw String Literals</td> | 266 <td>Raw String Literals</td> |
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 </tr> | 956 </tr> |
946 | 957 |
947 </tbody> | 958 </tbody> |
948 </table> | 959 </table> |
949 | 960 |
950 </details> | 961 </details> |
951 | 962 |
952 </div> | 963 </div> |
953 </body> | 964 </body> |
954 </html> | 965 </html> |
OLD | NEW |