The Right Approach to Exceptions

bearophile bearophileHUGS at lycos.com
Sat Feb 18 20:08:00 PST 2012


Walter:

> (Also, having a large number of exception types is going to produce a lot of 
> program size bloat. Remember, for EVERY class type, you've got the vtbl[], the 
> .init data, and the TypeInfo. Going to town on exception types can really add 
> this up.)

To improve this discussion a small benchmark is useful to see how much bloat this actually causes.

Bye,
bearophile


More information about the Digitalmars-d mailing list