Re: Weird behavior with "this T"
On Thursday, 19 October 2017 at 17:53:43 UTC, bauss wrote: Can someone explain the behavior of the following to me? [...] I figured this out. It was simply the constructor that was called recursive.
Weird behavior with "this T"
Can someone explain the behavior of the following to me? With a base class like this: abstract class Foo { string[] members; final: this(this T)(T child) { import std.conv : to; foreach (member;