improving the join function

bearophile bearophileHUGS at lycos.com
Mon Oct 11 18:02:04 PDT 2010


> You may implement a generic std.algorithm.join, and then implement the std.string.join that uses just strings (the second argument may be a single char too) and calls std.algorithm.join for its implementation.

If you don't like that name collision, the std.algorithm one may be named joinRange or something else.

Bye,
bearophile


More information about the Digitalmars-d mailing list