@noreturn?
Alex Rønne Petersen
xtzgzorex at gmail.com
Sun May 13 09:13:49 PDT 2012
Hi,
If memory serves me right, there were some proposals in the past to add
a @noreturn attribute to the language. Where did this go?
In writing unwinding mechanisms for my VM, I find myself actually
needing some sort of @noreturn function attribute that would tell the
compiler that the function does not return, rather than having to insert
an assert(false); statement.
--
- Alex
More information about the Digitalmars-d
mailing list