Summary: countUntil should take Ranges... instead of R2
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Jesse Phillips <> 2011-01-30 
11:18:23 PST ---
The recent addition of countUntil makes use of the startsWith template function
which has an overload for accepting many ranges. By modifying the signature you
can take advantage of this overload at no additional code:

- sizediff_t countUntil(alias pred = "a == b", R1, R2)(R1 haystack, R2 needle)
+ sizediff_t countUntil(alias pred = "a == b", R1, Ranges...)(R1 haystack,
Ranges needle)

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

Reply via email to