----- Original Message ---- > From: Andrei Alexandrescu <[email protected]> > > 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 _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
- Re: [phobos] next release (meaning of path) Jonathan M Davis
- Re: [phobos] next release (meaning of path) SHOO
- Re: [phobos] next release (meaning of path) Andrei Alexandrescu
- Re: [phobos] next release (meaning of path) Jonathan M Davis
- Re: [phobos] next release (meaning of path) Steve Schveighoffer
- Re: [phobos] next release (meaning of path) Jonathan M Davis
- Re: [phobos] next release (meaning of path) Steve Schveighoffer
- Re: [phobos] next release (meaning of path) Michel Fortin
- Re: [phobos] next release (meaning of path) Steve Schveighoffer
- Re: [phobos] next release (meaning of path) Andrei Alexandrescu
- Re: [phobos] next release (meaning of path) Steve Schveighoffer
- Re: [phobos] next release (meaning of path) spir
- Re: [phobos] next release (meaning of path) Andrei Alexandrescu
- Re: [phobos] next release (meaning of path) Steve Schveighoffer
- Re: [phobos] next release (meaning of path) Jonathan M Davis
- Re: [phobos] next release (meaning of path) spir
- Re: [phobos] next release (meaning of path) Andrei Alexandrescu
- Re: [phobos] next release (meaning of path) Michel Fortin
- Re: [phobos] next release (meaning of path) Jonathan M Davis
- Re: [phobos] next release (meaning of path) Andrei Alexandrescu
- Re: [phobos] next release (meaning of path) Jesse Phillips
