logoalt Hacker News

delamontoday at 9:26 AM1 replyview on HN

Yes, that would work. But you would need to carry pointer to allocator inside box and it is extra code to run for every object.


Replies

tcfhgjtoday at 9:50 AM

extra code meaning the drop implementation or something else?