August 30, 2015 Re: observation: D getting a bit complex | ||||
---|---|---|---|---|
| ||||
Posted in reply to Spacen Jasset | On Sunday 30 August 2015 04:42, Spacen Jasset wrote: > immutable(ElementEncodingType!(ElementType!Range))[] > buildPath(Range)(Range segments) if (isInputRange!Range && > isSomeString!(ElementType!Range)); > pure nothrow @safe immutable(C)[] buildPath(C)(const(C)[][] > paths...) if (isSomeChar!C); > > http://dlang.org/phobos/std_path.html It's less horrible in the /library/ docs: ---- immutable(ElementEncodingType!(ElementType!Range))[] buildPath(Range)( Range segments ) if (isInputRange!Range && isSomeString!(ElementType!Range)); immutable(C)[] buildPath(C)( const(C)[][] paths ) pure nothrow @safe if (isSomeChar!C); ---- http://dlang.org/library/std/path/build_path.html The /library/ docs are supposed to replace the current /phobos/ ones, but I don't know what's the latest on that. |
Copyright © 1999-2021 by the D Language Foundation