More D newb questions.

BCS ao at pathlink.com
Wed May 7 20:55:44 PDT 2008


Reply to Me,

> Janice Caron wrote:
> 
>> 2008/5/7 Me Here <p9e883002 at sneakemail.com>:
>> 
>>> So then, <i>if</i> a ~ b worked
>>> 
>> Sorry to be pedantic, but a ~ b does work. It does exactly what it's
>> defined to do. What you mean is, if a ~ b exhibited the bizarre and
>> unexpected behavior suggested in this thread.
>> 
> Sorry to be pedantic in response, but in what way does it work?
> 

If the type of a and or b is an array... Or if the type of a defines the 
opCat method for the type of b then this method is called.





More information about the Digitalmars-d mailing list