No, but why do you want to do this?
None that I know of. Where would you go if you caught them?
The question is what it would mean. Normally, if a constructor
exits via an exception, the object doesn't exist, and there's no
way to access it. Static objects are always accessible,
everywhere. Doing anything but terminating the program would
violate this contract.
James Kanze (GABI Software) email: XXXX@XXXXX.COM
Conseils en informatique orient objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sard, 78210 St.-Cyr-l'ole, France, +33 (0)1 30 23 00 34
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:email@example.com ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.yqcomputer.com/