Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-10-09 14:03:37

"Daniel Frey" <daniel.frey_at_[hidden]> wrote in message
> [...]
> Why do you think that it will create a temporary? Consider:
> [...]

I was under the impression that the static_cast inside your conversion
operator could create a temporary. If so, you have a real problem, as
you're returning a ref to a temp.


Boost list run by bdawes at, gregod at, cpdaniel at, john at