23 May 23:07
Re: design question with using call_traits and functors
From: Nat Goodspeed <nat <at> lindenlab.com>
Subject: Re: design question with using call_traits and functors
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-05-23 21:07:27 GMT
Subject: Re: design question with using call_traits and functors
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-05-23 21:07:27 GMT
Hansi wrote:
> This version I have tested also, the only Problem which could happen I
> think is the reference of reference problem. Isn't it?
Um - I don't understand the bad case you're imagining. I added this:
void func(int& param)
{
Set("51", param);
}
and these two lines:
func(target);
std::cout << "Set(ref) produced " << target << '\n';
and got what I expected. So I'm not yet following your train of thought.
RSS Feed