[vtk-developers] vtkNew compile error

Marcus D. Hanwell marcus.hanwell at kitware.com
Sat Mar 20 08:47:23 EDT 2010


On Mon, Feb 1, 2010 at 11:59 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> Sounds good to me. We can address those stream issues at a later date
> if need be.
>
> On Mon, Feb 1, 2010 at 10:53 AM, Brad King <brad.king at kitware.com> wrote:
> > Bill Lorensen wrote:
> >> I think vtkNew would be a good spot to use std::ostream.
> >
> > I started looking into that and it opens a small can of worms.
> > In vtkIOStream.h we do several things:
> >
> > (1) Support the VTK_USE_ANSI_STDLIB option.
> > Now that VS6 is gone do we need this option anymore?
> >
> > (2) Reduces the MSVC warning level for the stream headers.
> > We do not want to do this everyplace we include <ostream>.
> >
> > (3) Provide streaming operators for "long long" if the native
> > compiler does not provide them.  Do all our compilers provide
> > this now?
> >
> > While the above issues are worth discussion for VTK as a whole,
> > I'd rather not deal with them for introduction of vtkNew<>.
> > Let's just use #include "vtkIOStream.h" for now.
> >
>
What was the outcome on vtkNew? I think that this would be a great addition
before we branch. After so much discussion it would also be great to
actually add the API we seem to have all settled on.

Thoughts? Objections? As far as I can tell everyone involved likes vtkNew.

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100320/edd273c6/attachment.html>


More information about the vtk-developers mailing list