I've stumbled in an annoying error while trying to remove an item from a dynamic array. It's an array of Loc and a Loc is a simple struct of two integers. when I used remove from std.algorithm I get C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(5948): Error: incompatible types for ((pos) <= (from)): 'uint' and 'Loc' C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(5949): Error: incompatible types for ((pos) < (from)): 'uint' and 'Loc'
is it suposed to do this?