blob: af0f1006cc861ff1bfb1d305d51d647566b143dd [file] [log] [blame]
struct CirBuff(T)
{
import imports.stdtraits10727 : isArray;
CirBuff!T opAssign(R)(R) if (isArray!R)
{}
struct Range(U, S)
{
Range!(U, S) save() { return U; }
}
T[] toArray()
{
T[] ret = new T[this.length];
return ret;
}
alias toArray this;
Range!(T, T) range() {}
}
class Bar(T = int)
{
CirBuff!T _bar;
}
class Once
{
Bar!Foo _foobar;
}
class Foo : Frop {} // Frop is not defined