On Thursday, 14 May 2015 at 06:41:45 UTC, Ali Çehreli wrote:

I am lucky because although the returned type is opaque to me, I know that it is constructed by a void lambda.

Yeah, in this case I control the container so I may just add an emptySlice property, but it does seem like it might be a common need (to return an empty range of a given type without having that range constructed beforehand).

Reply via email to