"in" everywhere

Juanjo Alvarez fake at fakeemail.com
Thu Oct 7 18:18:56 PDT 2010


On Thu, 7 Oct 2010 15:53:13 -0700, Jonathan M Davis 
<jmdavisProg at gmx.com> wrote:
> Except that when you're dealing with generic code which has to deal 
with 
> multiple container types (like std.algorithm), you _need_ certain 
complexity 
> guarantees about an operation since it could happen on any 
container that it's

Then, don't use it in std.algorithm or any other code that needs 
guaranteed complexity, just like now. I don't see the problem with a 
generic "in" operator, nobody would be forced to use it.


More information about the Digitalmars-d mailing list