mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
passes -> passed
This commit is contained in:
@@ -9324,7 +9324,7 @@ also define an overload that takes lvalues.
|
|||||||
void print(const string& s); // print and preserve the value of s
|
void print(const string& s); // print and preserve the value of s
|
||||||
|
|
||||||
An rvalue can be assumed not to be accessed after being passed.
|
An rvalue can be assumed not to be accessed after being passed.
|
||||||
An lvalue must in general be assumed to be used again after being passes, that is after a `std::move`,
|
An lvalue must in general be assumed to be used again after being passed, that is after a `std::move`,
|
||||||
so "careful programming" is essential to avoid disasters -- better not rely on that.
|
so "careful programming" is essential to avoid disasters -- better not rely on that.
|
||||||
|
|
||||||
###### Note
|
###### Note
|
||||||
|
|||||||
Reference in New Issue
Block a user