[phobos] next release (meaning of path)
Steve Schveighoffer
schveiguy at yahoo.com
Mon Jan 3 07:43:21 PST 2011
----- Original Message ----
> From: Andrei Alexandrescu <andrei at erdani.com>
>
> On 1/3/11 8:02 AM, Steve Schveighoffer wrote:
> > I typically always use / because it mostly works on all OSes. But in any
>case,
> > I was thinking of a function like this to convert back to a path string:
> >
> > string toPath(const(char)[][] elements...);
> >
> > auto pathstr = toPath("a", "b", "c");
>
> Like http://www.digitalmars.com/d/2.0/phobos/std_path.html#join? :o)
Yes, exactly like that, but not called join. I think phobos should avoid naming
functions the same from two different modules, otherwise, you have to start
using full module names.
-Steve
More information about the phobos
mailing list