3 ms·
> Let us now assume that we hide the function definitions: extern void construct(), destruct(); > The generated code in that case becomes noticeably
by rustybolt 4y ago
> 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?