My thoughts & experiences with D so far, as a novice D coder

Jonathan M Davis jmdavisProg at gmx.com
Fri Mar 29 12:25:08 PDT 2013


On Friday, March 29, 2013 16:33:33 Jesse Phillips wrote:
> Ah, I was just going by the docs when I wrote this. I apparently
> got it wrong. write doesn't using indexing it uses opSliceAssign
> (which isn't in its constraints).

I'll have to take a look at that. I think that it was pretty much assuming 
that all of the slicing stuff would work with hasSlicing, but that stuff doesn't 
check for opSliceAssign, so clearly the template constraints need some work. 
Thanks for pointing that out.

- Jonathan M Davis


More information about the Digitalmars-d mailing list