observation: D getting a bit complex

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 30 11:02:24 PDT 2015


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.


More information about the Digitalmars-d-learn mailing list