[vtk-developers] Re: Const arrays in vtkSetVector*Macro ( Was: the hints file )
dean.inglis at on.aibn.com
dean.inglis at on.aibn.com
Mon Nov 25 09:04:46 EST 2002
Hi Andy,
IMHO, const correctness sounds good to me ...
Dean
>
> From: Andy Cedilnik <andy.cedilnik at kitware.com>
> Date: 2002/11/25 Mon AM 07:48:42 GMT-05:00
> Subject: Const arrays in vtkSetVector*Macro ( Was: the hints file )
>
> Hi All,
>
> That said, could we modify all the
> virtual void SetSomething(type*)
> to
> virtual void SetSomething(const type*)?
>
> I added standard colors to Common/Testing/Cxx and the type had to be
> static float color[3] instead of static const float color[3].
>
> So, comments?
>
> Andy
>
More information about the vtk-developers
mailing list