[vtkusers] using auto_ptr on vtk classes

Abhishek gattani at aktina.com
Thu Mar 10 13:45:02 EST 2005


When I use: 

 

std::auto_ptr<vtkTIFFReader> m_pImgReader;

 

as a member variable in my class I get the following compiler (MSVC) error:

 

.\memory(484): error C2248: 'vtkTIFFReader::vtkTIFFReader' : cannot access
protected member declared in class 'vtkTIFFReader'.

 

Can someone throw light as to why this is happening? Thanks,

 

-Cheers,

Abhishek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050310/4d211aeb/attachment.htm>


More information about the vtkusers mailing list