blob: 1e0c5466353807f3ada5139b66d6097f1ac03173 [file] [log] [blame]
struct Arr(T)
{
T[] dArr;
alias dArr this;
bool opEquals(Arr!T d)
{
foreach (idx, it; d)
{
if (this[idx] != it)
{
return false;
}
}
return true;
}
}
class Bar
{
Arr!Foo fooQ;
}
class Foo {} // NG