-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ownership semantics for the marginal trees. #292
Comments
Getting this right is a bit annoying. On the caller's side, one must use |
This should be handled along with #294, at which point we should deprecate the existing types that do the |
Random thought: this may all be best handled by a |
No -- you can always delete a pointer. Seems like the smartest thing here is the shared/weak pointer duo. |
We currently store an object and return a const reference via a getter. This design is rather inelegant. We should refactor to use shared pointers. The getter returns a pointer to const object to prevent modification by the caller.
The text was updated successfully, but these errors were encountered: