scope auto e1 = new EntryInt();
Foo = e1.toFoo();
You don't need auto there. And scope is deprecated, use std.typecons' scoped
scope auto e1 = new EntryInt();
Foo = e1.toFoo();
You don't need auto there. And scope is deprecated, use std.typecons' scoped