Re: SourceComment: Using typedefs

Sorry it should be

typedef std::auto_ptr BItem_Ptr;

typo ;-)

— cheers atul

atul wrote:

Dear all

class BDecoder {

typedef std::auto_ptr BItem_Ptr;

….
return std::auto_ptr( new BErrorItem );

return BItem_Ptr( new BErrorItem );

— cheers atul

Would you like to post a relpy?


This post is a reply to:
SourceComment: Using typedefs
Dear all class BDecoder { typedef std::auto_ptr BItem_Ptr; ....       return std::auto_ptr( new BErrorItem ); return BItem_Ptr( new BErrorItem ); --- cheers atul

No follow-ups yet.