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 |