Should we add `a * b` for vectors?

Dukc ajieskola at gmail.com
Thu Oct 5 09:50:10 UTC 2017


On Thursday, 5 October 2017 at 09:39:58 UTC, Dukc wrote:
> On Thursday, 5 October 2017 at 09:26:44 UTC, Timon Gehr wrote:
>> The "fix" is to add
>>
>>     public import crng;
>>
>> to _std.range_.
>
> Yes, would work. I don't think it needs explanation why it's, 
> as you said, more like a "fix" than a fix.

Correction: Wouldn't quite do it, std.range would need to import 
the extension functions to crng, not it's C api. And it needn't 
to be a public import, if you also import it to it's child 
modules it happens to import. Otherwise correct.



More information about the Digitalmars-d mailing list