Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

tango.core.Array.contains doc : predicate or '<' ?

Posted: 09/28/07 02:24:04 Modified: 09/28/07 02:24:34

tango.core.Array is a very important module, almost everyone use it every day, and it's a very useful module of string handling.

recent trunk version of tango.core.Array.contains says:

     * Performs a linear scan of buf from $(LB)0 .. buf.length$(RP), returning
     * true if an element matching pat is found.  Comparisons will be performed
     * using the supplied predicate or '<' if none is supplied.

'<' or '==' ?

There are no responses to display.