Skip to content

Commit

Permalink
[C++/en] fix typo (#5236)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgev93 authored Jan 17, 2025
1 parent d78444d commit 26b5b3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c++.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ std::string retVal = tempObjectFun();
// created whenever a function returns an object, and they are destroyed at the
// end of the evaluation of the enclosing expression (Well, this is what the
// standard says, but compilers are allowed to change this behavior. Look up
// "return value optimization" if you're into this kind of details). So in this
// code:
// "return value optimization" if you're into these kinds of details). So in
// this code:
foo(bar(tempObjectFun()))

// assuming foo and bar exist, the object returned from tempObjectFun is
Expand Down

0 comments on commit 26b5b3a

Please sign in to comment.