Thanks Jon,
Can anyone throw more light on this.
Regards,
Sanjiv
--- Jonathan Wakely <[EMAIL PROTECTED]> wrote:
> On Fri, Feb 11, 2005 at 06:08:55AM -0800, san san
> wrote:
>
> > Hi Jon,
> >
> > Thanks again for replying. Let me clarify my
> problem:
> > I have an assembly file of a .cpp file, from the
> > assembly file i want to figure out where the compl
> has
> > created temp objects.
>
> Ah, I see what you mean now - but I probably can't
> help you with that.
>
> > For this i thought of looking for copy-ctor
> becuase
> > temp obj. are created using copy-ctors. I am not
> sure
> > if there is any other way by which i can figure
> out
> > that.
>
> Not necessarily true, temporaries might be created
> by any non-explicit
> constructor, consider
>
> struct A {
> A(int);
> };
>
> void f(const A&);
>
> f(0); // creates a temporary A using A::A(int)
>
> jon
>
> --
> "It is always the best policy to tell the truth,
> unless, of course, you
> are an exceptionally good liar."
> - Jerome K. Jerome
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250