Hi,
What's the right way of testing if a
SmartPointer have been assigned ?
My current test is to check the normal
pointer returned by "GetPointer()" like
itk::Image<double,3>::Pointer p;
if( p->GetPointer() )
{
... // assume it is valid...
}
Is this correct ?
Thanks
Luis