allMembers broke for __

Russel Winder russel at winder.org.uk
Mon Jun 18 08:25:46 UTC 2018


On Sun, 2018-06-17 at 15:55 -0700, Walter Bright via Digitalmars-d wrote:
> 
[…]
> Identifiers starting with __ are reserved for the implementation:
> 
>    https://dlang.org/spec/lex.html#identifiers
> 
> They have implementation-defined behavior. Do not use them in user code.

In delegates I have found I have to use _ and __ (and ___, ____, etc.,but I
have only had to use two to date) for delegate parameters that are to be
unused and unnamed. Are these treated differently because they are all
underscores?

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20180618/aa1fb226/attachment.sig>


More information about the Digitalmars-d mailing list