I came across this definition yesterday
I've never seen an auto_ptr as a parameter before. I started wondering: what exactly does this mean? Does it mean that the called routine can use the contents but should not take a copy of the pointer.
Code:
// 6.15
void
attributesInScope
(ObjectInstanceHandle const & theObject,
[COLOR=red]std::auto_ptr< AttributeHandleSet > theAttributes[/color])
throw (RTI::ObjectInstanceNotKnown,
RTI::AttributeNotRecognized,
RTI::AttributeNotSubscribed,
RTI::FederateInternalError);