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
news:3DA3FBD2.537AEC13_at_aixigo.de...
> [...]
> 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.

Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk