Skip to content

Question on void_ptr #22

@SebastienParis

Description

@SebastienParis

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions