Variants and pattern matching implementation

David B. Held dheld at codelogicconsulting.com
Wed May 9 22:59:19 PDT 2007


Reiner Pope wrote:
> [...]
> 2. Lack of types for templates parameters.
> It would really be nice to express what *kind* of template parameters 
> you want in more detail (this specifically refers to alias parameters, 
> and their tuple counterparts). I know of at least three specific times 
> in writing the variant that I forgot/misunderstood the type the 
> parameter was -- I can't help feeling that some kind of Concepts idea 
> for template parameters would be nice.
> [...]

This is my favorite hobby-horse, so if you could elaborate on this with 
some specific examples, that would be great. ;)

Dave



More information about the Digitalmars-d mailing list