The Right Approach to Exceptions

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


> (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.


More information about the Digitalmars-d mailing list