[Insight-users] Re: itk::SmartPointers and STL? (Luis Ibanez)

Parag Chandra pchandra@radonc.unc.edu
Wed, 19 Mar 2003 15:01:38 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0050_01C2EE28.716A7560
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks Luis. So then should I declare my vector as:

std::vector<ImageType*>

or

std::vector<ImageType::Pointer>

??
------=_NextPart_000_0050_01C2EE28.716A7560
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks Luis. So then should I declare =
my vector=20
as:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>std::vector&lt;ImageType*&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>or</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>std::vector&lt;ImageType::Pointer&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>??</FONT></DIV></BODY></HTML>

------=_NextPart_000_0050_01C2EE28.716A7560--