Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2002-11-09 13:46:46

On Sat, 9 Nov 2002 17:14:49 +0100, "Terje Slettebø"
<tslettebo_at_[hidden]> wrote:

> In any case, the
>program below detects presence of NRVO, by returning zero, or greater than
>zero if NRVO is not present.

Actually it shows whether that optimization is applied in a specific
example. You can't infer nothing from the fact that it isn't applied
though. If you state the problem as: "Can we test whether this
compiler is capable of doing NRVO", I think the answer is something
along the lines of "Yes, go looking at the source code" ;-)


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