mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
more language feature xrefs
These xrefs are menat part as teasers to get language-feature obsessed programmers to look at the guidelines and partly to cover topics that appears in several places. They are not meant to be complete
This commit is contained in:
parent
6fa4cb32cd
commit
54f57d8d1b
|
@ -103,7 +103,12 @@ You can sample rules for a specific language feature:
|
||||||
[when needed?](#Rc-dtor) --
|
[when needed?](#Rc-dtor) --
|
||||||
[may not fail](#Rc-dtor-fail)
|
[may not fail](#Rc-dtor-fail)
|
||||||
* exception:
|
* exception:
|
||||||
[???](#S-errors)
|
[errors](#S-errors) --
|
||||||
|
[`throw`](Re-throw) --
|
||||||
|
[for errors only](#Re-errors) --
|
||||||
|
[`noexcept`](#Re-noexcept) --
|
||||||
|
[mimize `try`](#Re-catch) --
|
||||||
|
[what if no exceptions?](#Re-no-throw-codes)
|
||||||
* `for`:
|
* `for`:
|
||||||
[range-for and for](#Res-for-range) --
|
[range-for and for](#Res-for-range) --
|
||||||
[for and while](#Res-for-while) --
|
[for and while](#Res-for-while) --
|
||||||
|
@ -111,10 +116,25 @@ You can sample rules for a specific language feature:
|
||||||
[empty body](#Res-empty) --
|
[empty body](#Res-empty) --
|
||||||
[loop variable](#Res-loop-counter) --
|
[loop variable](#Res-loop-counter) --
|
||||||
[loop variable type ???](#Res-???)
|
[loop variable type ???](#Res-???)
|
||||||
|
* function:
|
||||||
|
[naming](#Rf-package) --
|
||||||
|
[single operation](#Rf-logical) --
|
||||||
|
[may not throw](#Rf-noexcept) --
|
||||||
|
[arguments](#Rf-smart) --
|
||||||
|
[argument passing](#Rf-conventional) --
|
||||||
|
[multiple return values](#Rf-out-multi)
|
||||||
|
[pointers](#Rf-return-ptr) --
|
||||||
|
[lambdas](#Rf-capture-vs-overload)
|
||||||
* `inline`:
|
* `inline`:
|
||||||
[???](#S-class)
|
[small functions](#Rf-inline) --
|
||||||
|
[in headers](Rs-inline)
|
||||||
* initialization:
|
* initialization:
|
||||||
[???](#S-???)
|
[always](#Res-always) --
|
||||||
|
[prefer `{}`](#Res-list) --
|
||||||
|
[lambdas](#Res-lambda-init) --
|
||||||
|
[in-class initializers](#Rc-in-class-initializer) --
|
||||||
|
[class members](#Rc-initialize) --
|
||||||
|
[factory functions](#Rc-factory)
|
||||||
* lambda expression:
|
* lambda expression:
|
||||||
[???](#SS-lambdas)
|
[???](#SS-lambdas)
|
||||||
* operator:
|
* operator:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user