The Right Approach to Exceptions

Daniel Murphy yebblies at
Sat Feb 18 21:33:10 PST 2012

"Walter Bright" <newshound2 at> wrote in message 
news:jhpqdj$30t6$1 at
> (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.)

As a counterpoint: With a standard exception heirachy in some cases 
executable size will be decreased, because it will reduce the number of 
libraries inventing their own similar heirachy. 

More information about the Digitalmars-d mailing list