On Friday, 30 January 2015 at 12:32:05 UTC, drug wrote:
static init() { auto instance = new typeof(this)(); instance._cont = new Container(); return instance; }
have you tried --- static typeof(this) init() { auto instance = new typeof(this)(); instance._cont = new Container(); return instance; } --- ? because currently either "void" or a type is missing.