Skip to content

Commit

Permalink
Update objects.md
Browse files Browse the repository at this point in the history
Signed-off-by: Herb Sutter <herb.sutter@gmail.com>
  • Loading branch information
hsutter committed Aug 22, 2024
1 parent 9722e28 commit 4fbe684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cpp2/objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ f: () = {
// ... no uses of buf here ...
buf = some_calculated_value; // constructs (not assigns) buf
// ...
std::cout << buf[0]; // ok, a has been initialized
std::cout << buf[0]; // ok, a has been initialized
}

g: () = {
Expand Down

0 comments on commit 4fbe684

Please sign in to comment.