Faster sort?
John Colvin via Digitalmars-d
digitalmars-d at puremagic.com
Thu Apr 7 02:25:46 PDT 2016
On Thursday, 7 April 2016 at 08:53:32 UTC, Andrea Fontana wrote:
> On Thursday, 7 April 2016 at 08:41:51 UTC, John Colvin wrote:
>> *hench my example of compiling one module to an object file
>> and then compiling the other and linking them, without ever
>> importing one from the other.
>
> If i move boolSort() on another module but I can't use auto as
> return type.
> Return type is a "voldemort" type returned by std.range.chain.
>
> How can I define it?
You could create a dummy function (or even the real function,
just with a different name) that creates the same type and use
typeof(myDummyFunction(myDummyArgs)) when making the definition.
More information about the Digitalmars-d
mailing list