more language term examples

This commit is contained in:
Bjarne Stroustrup 2017-04-17 12:37:42 -04:00
parent c46bebc58f
commit 6d01cfd99b

View File

@ -60,7 +60,7 @@ Supporting sections:
* [Glossary](#S-glossary) * [Glossary](#S-glossary)
* [To-do: Unclassified proto-rules](#S-unclassified) * [To-do: Unclassified proto-rules](#S-unclassified)
or look at a specific language feature or look at a specific language feature:
* [assignment](#S-???) * [assignment](#S-???)
* [`class`](#S-class) * [`class`](#S-class)
@ -68,14 +68,14 @@ or look at a specific language feature
* [derived `class`](#SS-hier) * [derived `class`](#SS-hier)
* destructor: [and constructors](#Rc-matched), [when needed?](#Rc-dtor), [may not fail](#Rc-dtor-fail) * destructor: [and constructors](#Rc-matched), [when needed?](#Rc-dtor), [may not fail](#Rc-dtor-fail)
* [exception](#S-errors) * [exception](#S-errors)
* [`for`](#S-???) * `for`: [range-for and for](#Res-for-range), [for and while](#Res-for-while) [for-initializer](#Res-for-init), [empty body](#Res-empty), [loop variable](#Res-loop-counter), [loop variable type ???](#Res-???)
* [`inline`](#S-class) * [`inline`](#S-class)
* [initialization](#S-???) * [initialization](#S-???)
* [lambda expression](#SS-lambdas) * [lambda expression](#SS-lambdas)
* [operator](#S-???) * [operator](#S-???)
* [`public`, `private`, and `protected`](#S-???) * [`public`, `private`, and `protected`](#S-???)
* [`static_assert`](#S-???) * [`static_assert`](#S-???)
* `struct`: is a class with members public by default, [use if no invariant](#Rc-struct), [no private members](#Rc-class) * `struct`: [for organizing data](#Rc-org), [use if no invariant](#Rc-struct), [no private members](#Rc-class)
* [`template`](#S-???) * [`template`](#S-???)
* [`unsigned`](#S-???) * [`unsigned`](#S-???)
* [`virtual`](#SS-hier) * [`virtual`](#SS-hier)