DIP64 - Regarding 'pure' and 'nothrow'

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 27 06:58:12 PDT 2014


On Wed, 27 Aug 2014 13:49:47 +0000
Aerolite via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> The discrepancy between the annotation-style attributes such as
> '@safe', '@property', etc and the keyword attributes 'pure' and
> 'nothrow' has always really bugged me ever since I started using
> D.
we can also turn 'const' to '@const' and this will end annoying
confusion between `const T foo ();` and `const(T) foo ();`.

but it's fun to see confused people, so i'm against it. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140827/1c01eed4/attachment-0001.sig>


More information about the Digitalmars-d-learn mailing list