Boost logo

Boost :

From: Bill Wade (bill.wade_at_[hidden])
Date: 1999-11-19 12:57:21


> From: Greg Colvin [mailto:gcolvin_at_[hidden]]

> is the compiler allowed to copy t only once, or must it first push it on
> the stack?

AFAICT:
For call-by-value the actual argument (caller's object) must be copied to
the dummy argument (callee's object) unless either

1) As-if rule applies (no side effects and object addresses aren't compared)

or

2) The actual argument is a temporary.


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