-
Notifications
You must be signed in to change notification settings - Fork 152
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
Only instantiate moveit
-style constructors and implement make_unique
in terms of them
#742
Conversation
Having thought this through, I don't think this is the right approach. It simplifies things a bit, but not much because we still need to instantiate the alloc/dealloc functions for each type. More seriously, this means we'd be calling The approach prior to this PR will have ended up directly calling the |
This will be OK once we've fixed #772 so reopening. (The whole PR needs redoing, though.) |
76c80e4
to
10b0266
Compare
10b0266
to
29da394
Compare
d7af94e
to
da2f776
Compare
Previously we didn't populate a destructor (Drop) trait for a synthesized subclass even if the superclass had a destructor. We should have done. The general problem of derived classes being unaware of their superclass destructors is #988. The present fix only applies to synthesized subclasses. As well as being incorrect, this also prevented subclasses gaining a make_unique method.
9f3bf7e
to
0035433
Compare
We'll do #1040 instead. We deprecated the |
No description provided.