|
Boost Users : |
From: Nat Goodspeed (nat_at_[hidden])
Date: 2008-05-23 17:07:27
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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net