import std.string;
import std.stdio;
struct S {
ubyte[] metadata;
string toString(){
return "%s".format( metadata );
}
}
struct Foo {
S[] bar;
alias bar this;
string toString(){
return "%s".format( bar );
}
}
void main(){
S s;
s.metadata = [0,1,2];
Foo foo;
foo.bar = [s];
writeln( foo );
}
aW1wb3J0IHN0ZC5zdHJpbmc7CmltcG9ydCBzdGQuc3RkaW87CgoKc3RydWN0IFMgewoJdWJ5dGVbXSBtZXRhZGF0YTsKCQoJc3RyaW5nIHRvU3RyaW5nKCl7CgkJcmV0dXJuICIlcyIuZm9ybWF0KCBtZXRhZGF0YSApOwoJfQp9CgpzdHJ1Y3QgRm9vIHsKCVNbXSBiYXI7CglhbGlhcyBiYXIgdGhpczsKCglzdHJpbmcgdG9TdHJpbmcoKXsKCQlyZXR1cm4gIiVzIi5mb3JtYXQoIGJhciApOwoJfQp9Cgp2b2lkIG1haW4oKXsKCVMgICBzOwoJcy5tZXRhZGF0YSA9IFswLDEsMl07CglGb28gZm9vOwoJZm9vLmJhciA9IFtzXTsKCgl3cml0ZWxuKCBmb28gKTsKCn0KCg==