mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Merge pull request #114 from jneidlinger/typo/f21
[Typo] Fix typo in function argument passing rule 21
This commit is contained in:
commit
f478991194
|
@ -2128,7 +2128,7 @@ Suggest using a `const` reference instead.
|
||||||
### F.21: Use a `T` parameter for a small object
|
### F.21: Use a `T` parameter for a small object
|
||||||
|
|
||||||
**Reason**: Nothing beats the simplicity and safety of copying.
|
**Reason**: Nothing beats the simplicity and safety of copying.
|
||||||
For small objects (up to two or three words) is is also faster than alternatives.
|
For small objects (up to two or three words) it is also faster than alternatives.
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user