Topic: Can exceptions thrown by constructors of global/static variables
Author: stefan.heinzmann@arcor.de (Stefan Heinzmann)
Date: Mon, 1 Oct 2007 16:25:53 GMT Raw View
The subject line says it.
What workarounds are there?
Is there any motion for supporting it in a future version of the
standard? Maybe with function try blocks in main()?
Or are there good reasons why it should not be allowed, or
hard/impossible to implement?
Cheers
Stefan
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]