Merge pull request #513 from cmello/master

passes -> passed
This commit is contained in:
Andrew Pardoe
2016-02-01 10:23:31 -08:00

View File

@@ -9383,7 +9383,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