[vtk-developers] Const correctness for string methods

David Thompson dcthomp at sandia.gov
Mon Jan 19 12:29:15 EST 2004


> Andy only change the Set methods. Changing the Get methods will cause all
> sorts of problems in user's code (and VTK itself) for no real benefit.
Why not have the Get macros overloaded (declare a const and a non-const
version)? Unless there are compilers that have trouble with the
overloading (shouldn't be any nowadays) then I don't see how this could
cause problems?

		David




More information about the vtk-developers mailing list