Consensus on goto's into catch blocks
Walter Bright
newshound2 at digitalmars.com
Fri Jun 14 11:44:28 PDT 2013
On 6/13/2013 2:08 PM, monarch_dodra wrote:
> Well, I guess as long as the compiler (optionally) supports skipping over
> initialization it means it can handle the magic required to maintain the stack
> pointer, so that shouldn't really be a problem.
Sometimes it is handy to skip initializations, and I get annoyed with g++ barfs
on me doing that. That said, such should only be allowed in @system code.
On a related note, doing a goto into a finally block is pretty problematic to
support because it's actually a mini-function.
More information about the Digitalmars-d
mailing list