scope(exit) without exception handling?

Mehrdad wfunction at hotmail.com
Wed May 16 13:28:57 PDT 2012


Hmmm... when I remove the reference to SNN.lib, the code
	auto scoped() nothrow {
		struct S { ~this() { } }
		S s;
		return s;
	}
	void main() { auto s = scoped(); }
tells me
	Error 42: Symbol Undefined __d_framehandler
	Error 42: Symbol Undefined __except_list


But, when I change it to
	auto scoped() nothrow {
		struct S { ~this() { } }
		return S();
	}
it compiles fine.


Is this counted as a 'bug'? Or is it intentional? (Should I 
report it?)


More information about the Digitalmars-d mailing list