Non-nullable references, again
Michel Fortin
michel.fortin at michelf.com
Fri Jan 2 20:06:26 PST 2009
On 2009-01-02 20:44:21 -0500, "Jarrett Billingsley"
<jarrett.billingsley at gmail.com> said:
> On Fri, Jan 2, 2009 at 8:35 PM, Michel Fortin
> <michel.fortin at michelf.com> wrote:
>>
>> How's this different from
>>
>> case a*.b:
>>
>> is this:
>>
>> case ((a*).b):
>>
>> or is it:
>>
>> case ((a) * (.b)):
>
> What the heck is ((a*).b)? * is not a postfix operator.
It is, kind of: if "a" is a type, postfix "*" makes it a pointer.
If you test it, it'll compile if "a" is a struct having a member "b".
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list