Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Let us now assume that we hide the function definitions:

    extern void construct(), 
    destruct();
> The generated code in that case becomes noticeably longer

This was hard for me to follow, but I think that when the function definitions are removed, the compiler no longer knows that the constructor can't throw an exception, so now it has to add exception handling code?



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: