Transforming a range back to the original type?
Jacob Carlborg
doob at me.com
Thu May 3 00:55:04 PDT 2012
On 2012-05-02 23:07, Matt Soucy wrote:
> On 05/02/2012 05:01 PM, Jacob Carlborg wrote:
>> Is there a general function for transforming a range back to the
>> original type? If not, would it be possible to create one?
>>
>
> I believe std.array's array function does what you want.
> -Matt
I was thinking of a generic function that works for all types of
collections and not arrays.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list