<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>I ran into this when doing an explicit instantiation of ImageRegionIterator.</div>
<div><br>
</div>
<div>Explicit instantiation will elaborate every method in a class, not just the ones that are called, so ImageRegionIterator::Begin (which is deprecated) is implemented by calling Superclass::Begin (which is also deprecated) which throws a compiler warning
 about the method being deprecated.</div>
<div><br>
</div>
<div>My first impulse was to change the implementation to call the non-deprecated Superclass::GoToBegin,  but that’s kind of silly — it’s probably not worth the effort to push through Gerrit.</div>
<div><br>
</div>
<div>The real question is this: Why are Begin and End deprecated in the Image Region iterators, and not in all the other classes?  There are a lot of classes that have Begin/End and not GoToBegin and GoToEnd:</div>
<div><br>
</div>
<div>
<div>ConstShapedNeighborhoodIterator</div>
<div>ConstSliceIterator</div>
<div>EquivalencyTable</div>
<div>FixedArray</div>
<div>FixedArray</div>
<div>ImageConstIterator</div>
<div>ImageConstIteratorWithIndex</div>
<div>ImageConstIteratorWithOnlyIndex</div>
<div>ImageIterator</div>
<div>ImageRegionConstIterator</div>
<div>ImageRegionIterator</div>
<div>ImageRegionReverseConstIterator</div>
<div>ImageRegionReverseIterator</div>
<div>ImageReverseConstIterator</div>
<div>IndexedContainerInterface</div>
<div>IndexedContainerInterface</div>
<div>MapContainer</div>
<div>MapContainer</div>
<div>MetaDataDictionary</div>
<div>MetaDataDictionary</div>
<div>Neighborhood</div>
<div>Neighborhood</div>
<div>NeighborhoodIterator</div>
<div>ObjectStore</div>
<div>Point</div>
<div>ShapedNeighborhoodIterator</div>
<div>SliceIterator</div>
<div>SparseFieldLayer</div>
<div>SparseFieldLayer</div>
<div>SpecialCoordinatesImage</div>
<div>ThreadedIteratorRangePartitioner</div>
<div>VectorContainer</div>
<div>VectorContainer</div>
<div>NarrowBand</div>
<div>NarrowBand</div>
<div>MultivariateLegendrePolynomial</div>
<div>MultivariateLegendrePolynomial</div>
<div>Histogram</div>
<div>Histogram</div>
<div>ImageToListSampleAdaptor</div>
<div>ImageToListSampleAdaptor</div>
<div>ImageToNeighborhoodSampleAdaptor</div>
<div>ImageToNeighborhoodSampleAdaptor</div>
<div>JointDomainImageToListSampleAdaptor</div>
<div>JointDomainImageToListSampleAdaptor</div>
<div>ListSample</div>
<div>ListSample</div>
<div>MembershipSample</div>
<div>MembershipSample</div>
<div>PointSetToListSampleAdaptor</div>
<div>PointSetToListSampleAdaptor</div>
<div>Subsample</div>
<div>Subsample</div>
<div>VectorContainerToListSampleAdaptor</div>
<div>VectorContainerToListSampleAdaptor</div>
<div>LevelSetContainerBase</div>
<div>LevelSetContainerBase</div>
<div>LevelSetEquationContainer</div>
<div>LevelSetEquationContainer</div>
<div>LevelSetEquationTermContainer</div>
<div>LevelSetEquationTermContainer</div>
<div>OneWayEquivalencyTable</div>
<div>WatershedSegmentTable</div>
<div>WatershedSegmentTable</div>
<div>WatershedSegmentTree</div>
<div>WatershedSegmentTree</div>
</div>
<div><br>
</div>
<br>
<br>
<hr>
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any
 retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
<hr>
</body>
</html>