# Updates to the coding conventions for C++17

**URL:** <https://discourse.vtk.org/t/updates-to-the-coding-conventions-for-c-17/15717>\
**Category:** Development\
**Created:** [June 10, 2025, 6:13am UTC](https://discourse.vtk.org/t/updates-to-the-coding-conventions-for-c-17/15717 "2025-06-10T06:13:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lgivord](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lgivord/32/3543_2.png) [@lgivord](https://discourse.vtk.org/u/lgivord)\
**Post date:** [June 10, 2025, 6:13am UTC](https://discourse.vtk.org/t/updates-to-the-coding-conventions-for-c-17/15717/1 "2025-06-10T06:13:19Z")

</div>

Hello everyone,

As we recently [bump the CXX version from C++11 to C++17](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/11049), I just updated the [coding convention for C++17](https://docs.vtk.org/en/latest/developers_guide/coding_conventions.html).

Please take the time to read this document before your next contribution 🙂 if you have any question regarding these conventions you can ping me (@lucas.givord), sankhesh (@sankhesh) or mathieu (@mwestphal) directly on your merge request.

---

<div class="post-metadata">

**Author:** ![jonaspleyer](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jonaspleyer/32/10057_2.png) [@jonaspleyer](https://discourse.vtk.org/u/jonaspleyer)\
**Post date:** [June 10, 2025, 10:20am UTC](https://discourse.vtk.org/t/updates-to-the-coding-conventions-for-c-17/15717/2 "2025-06-10T10:20:05Z")

</div>

Hey I would like to follow the style guidelines. Is there a `.clang-format` file which we can use to enforce the style automatically?

---

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Post date:** [June 10, 2025, 10:52am UTC](https://discourse.vtk.org/t/updates-to-the-coding-conventions-for-c-17/15717/3 "2025-06-10T10:52:01Z")

</div>

Yes, it is in the repo already. However, keep in mind not everything can be enforced by clang-format.
