On Sat, 9 Nov 2002 17:14:49 +0100, "Terje Slettebų"
<[EMAIL PROTECTED]> 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" ;-)

Genny.


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to