January 30, 2014
On Thursday, 30 January 2014 at 03:00:43 UTC, Paul-Andre wrote:
> On Wednesday, 29 January 2014 at 11:24:54 UTC, Stanislav Blinov wrote:
>> On Wednesday, 29 January 2014 at 10:30:06 UTC, Boomerang wrote:
>>    // also it's worth using ref const to avoid
>>    // unnecessary copies
>
> I am new to D.
> Why should someone use "ref const" instead of "in"?

in is the same as 'scope const' (scope checks aren't implemented) So you be relying on the optimizer to not copy.
1 2
Next ›   Last »