class scope virtual template functions

Walter Bright newshound1 at digitalmars.com
Thu May 29 13:51:17 PDT 2008


BCS wrote:
> in my case, I need this syntax
> 
> this.Templet!("foo")(arg)
> 
> to be virtual.
> 
> The use case is inside of dparse where I have template code calling 
> template code.

You could try parameterizing the class enclosing the template, rather 
than the template.



More information about the Digitalmars-d mailing list