Thanks for the help guys. I implemented length and opIndex and now I get
the following errors:
C:\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(5341): Error: template
std.algorithm.swap(T) if (!is(typeof(T.init.proxySwap(T.init)))) does not
match any function template declaration
C:\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(5341): Error: template
std.algorithm.swap(T) if (!is(typeof(T.init.proxySwap(T.init)))) cannot
deduce template function from argument types !()(_error_,Range)
-Craig