< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] I see this a lot - what does it mean?


What does this statement do?   Could you break this down into
sub-components and explain this please?

I'm a little weak in C++ these days, thanks to Steve Jobs who is
an Objective C weenie.....

auto_ptr<SipMessage> reg(Helper::makeRegister(from, from);

This was in slide 14 of the PPT document, and I see this a lot in other
modules....

What does auto_ptr mean?

is reg(..... some things.....) a C function, with the "Helper::makeRegister"
the argument which is a result a pointer or instance of a "Helper" object
created by the class method "makeRegister"?   Is that how it's read?

Or is "reg" the pointer to a SipMessage object or structure?

John