Problem with templates

Jarrett Billingsley kb3ctd2 at yahoo.com
Mon Jul 7 10:24:31 PDT 2008


"Sean Reque" <seanthenewt at yahoo.com> wrote in message 
news:g4tibc$2v3q$1 at digitalmars.com...

> You know, I think you are write and that a static function would work. I 
> would just instantiate templates for every function I wanted to create a 
> new version of.  I don't think I quite understood how it worked at first. 
> And if I really needed a delegate, I could easily wrap the invocation of a 
> specific template instantation inside a delegate call and use that.

Right.  You'll have to do it for every function either way.

> Unfortunately, neither your compose or my compose is working for me right 
> now :(.
>

Why isn't my implementation working? 




More information about the Digitalmars-d-learn mailing list