Pattern matching in D
Walter Bright
newshound1 at digitalmars.com
Sun Mar 7 18:46:35 PST 2010
retard wrote:
> 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 ?
I already posted the way to do type pattern matching.
More information about the Digitalmars-d
mailing list