Hash-Table-Based Multiple Arguments Replacement
    Nordlöw via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sat Oct 10 09:42:51 PDT 2015
    
    
  
On Saturday, 10 October 2015 at 16:19:53 UTC, Nordlöw wrote:
> Is there an algorithm somewhere in Phobos which performs when 
> possible a replacement/substitution based on a variadic 
> definition of replacements using hash-table search similar to
Found it:
http://dlang.org/phobos/std_algorithm_comparison.html#predSwitch
An alias would be perhaps be motivated to make newcomers easier 
grap that this can be used for whole replacements.
    
    
More information about the Digitalmars-d-learn
mailing list