[vtk-developers] Updates to VTK's coding standard page

Sean McBride sean at rogue-research.com
Thu Mar 14 13:32:58 EDT 2013


On Thu, 14 Mar 2013 11:36:32 -0400, Marcus D. Hanwell said:

>As we were linking to it from the commit guidelines page, I have also
>taken the opportunity to update the coding standards page for VTK,
>
>http://vtk.org/Wiki/VTK_Coding_Standards
>
>This is in line with my understanding of recent discussions, such as
>improvements to wrapping allowing default arguments, using STL in API
>outside of vtkCommon* modules being acceptable, moving toward using
>std::string in API rather that vtkStdString. Comments welcome, or feel
>free to edit/raise concerns here.

I added the following, which I *think* is correct, but....

C++ standard
  * VTK is written in C++98. Language/library features introduced in C++03 and C++11 cannot be used.
  * Code must be valid C++98, C++03, and C++11. (Each revision is mostly backwards compatible, but not entirely. ex: the 'auto' keyword changed meanings in C++11.)

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