std.algorithm.startsWith only predicate
    Nordlöw via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Mon Oct 19 12:20:11 PDT 2015
    
    
  
On Sunday, 18 October 2015 at 21:44:57 UTC, Jonathan M Davis 
wrote:
> startsWith doesn't have an overload that takes only a 
> predicate. The existing overloads all require at least one 
> "needle" to search for in the "haystack." An overload that 
> doesn't require a needle could certainly be added, but there 
> isn't one right now.
>
> - Jonathan M Davis
https://github.com/D-Programming-Language/phobos/pull/3752
    
    
More information about the Digitalmars-d-learn
mailing list