I hate class destructors with a burning passion

rikki cattermole rikki at cattermole.co.nz
Sun Jun 6 18:53:14 UTC 2021


On 07/06/2021 6:37 AM, mw wrote:
> I've thought about it, but think it's better be controlled by the 
> compiler: e.g. in release mode, commercial developers may not want the 
> software end-user to peek into the trade secret by specifying a bigger 
> buffer size flag at runtime, so s/he can see the stack frames the 
> developers not intended to publish.

If the information exists in the binary, it can always be acquired by 
those that want it in that scenario. I.e. by attaching a debugger.


More information about the Digitalmars-d mailing list