Summary: Update startsWith to take a range of ranges
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Jesse Phillips <> 2011-01-30 
11:28:48 PST ---
Currently std.algorithm.startsWith accepts any number of ranges. It would be
nice if this case below could pass:

import std.algorithm;

void main() {
    auto a = ["\r\nHello"];
    assert(startsWith(a, ["\n","\r\n"], ["H"]));

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to