The Right Approach to Exceptions
yebblies at nospamgmail.com
Sat Feb 18 21:33:10 PST 2012
"Walter Bright" <newshound2 at digitalmars.com> wrote in message
news:jhpqdj$30t6$1 at digitalmars.com...
> (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