Problem with templates
Sean Reque
seanthenewt at yahoo.com
Mon Jul 7 11:43:11 PDT 2008
Jarrett Billingsley Wrote:
> "Sean Reque" <seanthenewt at yahoo.com> wrote in message
> news:g4tjpg$j5$1 at digitalmars.com...
> > Jarrett Billingsley Wrote:
> >
> >> "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?
> >>
> >>
> >
> > I don't know :). I wrote in this post what I tried:
> >
> > http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=12935
>
> And I replied with corrections :)
>
>
I am sorry. I missed your corrections. It does work now. Thanks!
More information about the Digitalmars-d-learn
mailing list