More fun with autodecoding

Nicholas Wilson iamthewilsonator at hotmail.com
Tue Sep 11 02:00:29 UTC 2018


On Monday, 10 September 2018 at 20:44:46 UTC, Andrei Alexandrescu 
wrote:
> On 9/10/18 12:46 PM, Steven Schveighoffer wrote:
>> On 9/10/18 8:58 AM, Steven Schveighoffer wrote:
>>> I'll have to figure out why my specialized range doesn't 
>>> allow splitting based on " ".
>> 
>> And the answer is: I'm an idiot. Forgot to define empty :) 
>> Also my slicing operator accepted ints and not size_t.
>
> I guess a better error message would be in order.

https://github.com/dlang/DIPs/pull/131 will help narrow down the 
cause.


More information about the Digitalmars-d mailing list