Skip to content

docs: fix weak_ptr example and clarify ownership semantics - #1043

Closed
levietduc0712 wants to merge 1 commit into
exercism:mainfrom
levietduc0712:fix_branch
Closed

levietduc0712 wants to merge 1 commit into
exercism:mainfrom
levietduc0712:fix_branch

Conversation

@levietduc0712

Copy link
Copy Markdown

Fix weak_ptr example and clarify ownership semantics

The weak pointer example incorrectly used auto, which created another
shared_ptr instead of a weak_ptr.

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Hello. Thanks for opening a PR on Exercism 🙂

We ask that all changes to Exercism are discussed on our Community Forum before being opened on GitHub. To enforce this, we automatically close all PRs that are submitted. That doesn't mean your PR is rejected but that we want the initial discussion about it to happen on our forum where a wide range of key contributors across the Exercism ecosystem can weigh in.

You can use this link to copy this into a new topic on the forum. If we decide the PR is appropriate, we'll reopen it and continue with it, so please don't delete your local branch.

If you're interested in learning more about this auto-responder, please read this blog post.


Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it.

@github-actions github-actions Bot closed this Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant