Should compilers take advantage (abuse) of the new UDA syntax that has been accepted?

Iain Buclaw ibuclaw at ubuntu.com
Tue Dec 18 07:24:35 PST 2012


On 18 December 2012 15:19, Iain Buclaw <ibuclaw at ubuntu.com> wrote:

> Potentially this can now be re-written as.
>
> void die() @noreturn
> {
>    abort();
> }
>
>
By the way, this would be the first time that @noreturn has been brought up.

http://forum.dlang.org/thread/i9p9li$282u$1@digitalmars.com


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121218/cf67a3f1/attachment.html>


More information about the Digitalmars-d mailing list