enum
Walter Bright
newshound2 at digitalmars.com
Thu Apr 10 22:47:37 PDT 2014
On 4/10/2014 7:03 AM, Chad Joan wrote:
> It should be possible, because the argument's context is of the (hypothetical)
> FileAccess enum type. It should be unambiguous that I intend to use
> FileAccess's "READ" symbol there, and not some other symbol from module scope.
Andrei had actually proposed this years ago.
I talked him out of it on the grounds that it would interact confusingly with
overloading.
More information about the Digitalmars-d
mailing list