We might be able to use std::transform in some cases... I'll check some timings...
Brad On May 14, 2013, at 11:40 AM, Bill Lorensen <[email protected]> wrote: > I don't think we should use cdash suppression for this one. Users will be > annoyed, e.g. Slicer... > > > > On Tue, May 14, 2013 at 11:38 AM, Bradley Lowekamp <[email protected]> > wrote: > > As a last resort to getting ride of this warning, we could write an adaptor > class. Provide an adaptor to a pointer to an iterator interface but on the > dereference do the static_cast for the conversion. I don't know if the same > performance benefits will still occur. And I don't really want to do this > either, it'll be a lot more code. > > Alternatively we could just add this warning to the CDash warning suppression > file. > > We could also just compile a function, and for just that file provide the > command line ignore warning option. > > The current code is correct, it's doing the right thing. We just don't want > the warning... > > Brad > > On May 13, 2013, at 2:31 PM, Bradley Lowekamp <[email protected]> wrote: > > > Hello, > > > > > > On May 12, 2013, at 10:45 PM, Matt McCormick <[email protected]> > > wrote: > >> > >> Visual Studio possible loss of data warnings > >> https://issues.itk.org/jira/browse/ITK-3084 > > > > > > I have tried a couple of things to deal with this warning: > > > > http://review.source.kitware.com/#/c/11222/ > > > > I don't have another idea beside disabling that warning for all if the in > > itkWin32Header.h. > > > > Anyone have any suggestions? > > > > Brad > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Kitware offers ITK Training Courses, for more information visit: > > http://kitware.com/products/protraining.php > > > > Please keep messages on-topic and check the ITK FAQ at: > > http://www.itk.org/Wiki/ITK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.itk.org/mailman/listinfo/insight-developers > > > > > -- > Unpaid intern in BillsBasement at noware dot com
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-developers
