[vtk-developers] VTK Coding Standards, C++11 override and =delete

Sean McBride sean at rogue-research.com
Thu May 5 16:05:25 EDT 2016


On Thu, 5 May 2016 15:55:22 -0400, Marcus D. Hanwell said:

>One question I have for style, and I may be a minimalist, but using
>the virtual and override keyword for the same declaration seems overly
>redundant. The override keyword tells me it is overriding a virtual,
>couldn't we just use that? I totally agree on its use, and I know both
>are correct, but why not replace virtual with override rather than
>keeping both? 

Seems like that would greatly complicate maintaining C++03 compatibility.

>Seems reasonable to me. Both require a large number of changes, and
>are we still changing the indentation style in VTK as I thought we
>agreed last year?

I hope so, but I personally have not tackled it.  I think the best thing would be to use clang-format.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the vtk-developers mailing list