Skip to content
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

Question on void_ptr #22

Open
SebastienParis opened this issue Sep 27, 2019 · 0 comments
Open

Question on void_ptr #22

SebastienParis opened this issue Sep 27, 2019 · 0 comments

Comments

@SebastienParis
Copy link

Hi there, i am interested in knowing more about your design choices.
Why do you store the deleter and cloner functions in the void_ptr instead of the vtable?
This seems to be an unnecessary additional 2 pointers per poly value...
I would be reallly interested in understanding what I potentially miss if you have some time to answer 😉
Cheers!

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

No branches or pull requests

1 participant