Problems with sort

Craig Black craigblack2 at cox.net
Fri Dec 10 18:37:21 PST 2010


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



More information about the Digitalmars-d mailing list