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

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


http://www.cprogramming.com/tutorial/auto_ptr.html

On 7/8/05, John Draper <lists@xxxxxxxxxxxxxxxx> wrote:
> 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
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>