Next in Review Queue: The New std.path

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Wed Jul 20 10:42:22 PDT 2011


On Mon, 18 Jul 2011 20:47:20 +0200, torhu wrote:

> I didn't suggest joinPaths, because the inputs are not always paths,
> generally you join things like a path to a directory together with just
> a filename.  Maybe it's ok to call it all just 'paths', I don't know.
> But the output is commonly a path, hence buildPath.  Would be
> interesting to know what other people think, though.

See my answer to Steve.  I'm considering expanding joinPath's charter a 
bit, allowing it to take an input range of path segments and perform 
normalization while concatenating them.  buildPath would be a good name 
for this.

-Lars


More information about the Digitalmars-d mailing list