static if and early exit from function doesn't seem to work?

Colin grogan.colin at gmail.com
Sun Dec 31 13:36:20 UTC 2017


On Sunday, 31 December 2017 at 13:32:03 UTC, aliak wrote:
> Alo! I'm making a recursive concat function that is similar to 
> chain. The following code works:
>
> [...]

I suspect it's because you've no 'else static if'.


More information about the Digitalmars-d-learn mailing list