mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Merge pull request #114 from jneidlinger/typo/f21
[Typo] Fix typo in function argument passing rule 21
This commit is contained in:
@@ -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**:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user