On Fri, Feb 11, 2005 at 05:44:52AM -0800, san san wrote:

> Hi Jonathan & Everyone,

Hello again San,

> What i want to know is how to find what are the
> temporaries inserted by the compl.

I don't think I understand your question properly.

> I tried looking into the ABI but couldn't get much
> help. Is there any way i can figure out the
> temporaries  inserted by the compl.

The compiler creates and destroys objects as dictated by the C++
standard. If the language rules require a temporary object to be
created then the compiler will create one.

Your code passes objects by value, not by reference, which causes
objects to be created and destroyed.

Apologies if I've misunderstood you,

jon

-- 
"Political satire became obsolete when Henry Kissinger was awarded the
 Nobel Prize."
        - Tom Lehrer

Reply via email to