mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Update c++.html.markdown
spelling error
This commit is contained in:
parent
55c80f2552
commit
9d64b532f8
@ -264,7 +264,7 @@ string retVal = tempObjectFun();
|
||||
|
||||
// What happens in the second line is actually:
|
||||
// - a string object is returned from tempObjectFun
|
||||
// - a new string is constructed with the returned object as arugment to the
|
||||
// - a new string is constructed with the returned object as argument to the
|
||||
// constructor
|
||||
// - the returned object is destroyed
|
||||
// The returned object is called a temporary object. Temporary objects are
|
||||
|
Loading…
Reference in New Issue
Block a user