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

Iain Buclaw ibuclaw at ubuntu.com
Tue Dec 18 07:28:03 PST 2012


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

> 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.
>

s/would/wouldn't/

-- 
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/d168cfde/attachment.html>


More information about the Digitalmars-d mailing list