Feature request: Path append operators for strings

Namespace rswhite4 at googlemail.com
Fri Jul 5 13:46:59 PDT 2013


On Friday, 5 July 2013 at 20:34:26 UTC, Timon Gehr wrote:
> On 07/05/2013 10:09 PM, Namespace wrote:
>>> Unary ~ is bitwise not in Java and D, and he is referring to 
>>> binary
>>> usage.
>>
>>> [...] use ~ for _any_ purpose.
>> I'd expected that *any* really means *any* and do not refer to 
>> binary.
>
> Yes. Neither do 'use', 'for' and 'purpose'. Establishing that 
> it is likely that ~ is referring to binary requires some more 
> context (eg. it is likely that the two usages of ~ in his post 
> refer to the same thing), common sense or the assumption that 
> Jonathan probably knows about the unary usage. (Parsing natural 
> language is quite hard though, so I could be wrong.)

Spoken like a true human Compiler. :)


More information about the Digitalmars-d mailing list