Simple code sample of Nesting Structures. I'm I doing something illegal here?

Chris Nicholson-Sauls via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Nov 22 13:18:48 PST 2014


On Saturday, 22 November 2014 at 20:57:07 UTC, WhatMeWorry wrote:
>         auto bottom = NestedBottom(2, ['d','o','g']);

That 'auto' is the problem.  You want 'this.bottom = ...' instead.


More information about the Digitalmars-d-learn mailing list