logical operands on strings

John Colvin john.loughran.colvin at gmail.com
Sun Jan 12 11:47:05 PST 2014


On Sunday, 12 January 2014 at 19:27:18 UTC, Meta wrote:
> On Sunday, 12 January 2014 at 19:22:57 UTC, Ali Çehreli wrote:
>> 2) Array-wise operations does not support the following syntax
>>
>>    auto three = one[] ^ two[];
>
> Is this a bug or intended?

intended. It would require an implicit allocation, which is 
incongruent with array operations being fast. It's been discussed 
at length.


More information about the Digitalmars-d-learn mailing list