Interest in std.algorithm.joiner?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jul 27 11:12:34 PDT 2010


Steven Schveighoffer wrote:
> On Tue, 27 Jul 2010 11:21:08 -0400, Andrei Alexandrescu 
> <SeeWebsiteForEmail at erdani.org> wrote:
> 
>> We have std.algorithm.splitter which splits a range into components 
>> without allocating a new array.
>>
>> Is there an interest in joiner(), the corresponding function for 
>> join() that joins elements of a range in conjunction with a separator 
>> without allocating a new array?
> 
> How do you do that?

Well joiner would offer an input or in best case a forward range with 
the range primitives.

Andrei


More information about the Digitalmars-d mailing list