Pattern matching in D

retard re at tard.com.invalid
Sun Mar 7 16:25:44 PST 2010


Sun, 07 Mar 2010 15:59:37 -0800, Walter Bright wrote:

> BCS wrote:
>> I think (from context in other strands) that the OP was referring to
>> value, not type, pattern matching.
> 
> Value pattern matching is just a regular switch statement.

So what types does the regular switch accept in D 2 ?



More information about the Digitalmars-d mailing list