Skip to content

Prefer cxx modern names directly#4703

Closed
hjmjohnson wants to merge 13 commits intoInsightSoftwareConsortium:masterfrom
hjmjohnson:prefer-cxx-modern-names-directly
Closed

Prefer cxx modern names directly#4703
hjmjohnson wants to merge 13 commits intoInsightSoftwareConsortium:masterfrom
hjmjohnson:prefer-cxx-modern-names-directly

Conversation

@hjmjohnson
Copy link
Member

Remove legacy API's

PR Checklist

@hjmjohnson hjmjohnson added the type:Style Style changes: no logic impact (indentation, comments, naming) label May 31, 2024
@hjmjohnson hjmjohnson added this to the ITK 6.0.0 milestone May 31, 2024
@github-actions github-actions bot added type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct area:Core Issues affecting the Core module area:Filtering Issues affecting the Filtering module area:Registration Issues affecting the Registration module area:Segmentation Issues affecting the Segmentation module area:Video Issues affecting the Video module area:Numerics Issues affecting the Numerics module area:Remotes Issues affecting the Remote module area:Documentation Issues affecting the Documentation module area:IO Issues affecting the IO module and removed type:Style Style changes: no logic impact (indentation, comments, naming) labels May 31, 2024
@dzenanz dzenanz requested a review from N-Dekker May 31, 2024 22:01
#include <type_traits> // For conditional and integral_constant.
#include <utility> // For tuple_element and tuple_size.

// Macro added to each `ImageRegion` member function that overrides a virtual member function of `Region`, when legacy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@N-Dekker did you change legacy level for this recently?

hjmjohnson added 13 commits May 31, 2024 19:33
The non-const API variants are no longer supported
at compiletime.

Replace 'ITKv5_CONST' with 'const'.
ITKv4 compile time API support is removed.
Use initialization rather than assignment in the constructor.
Remove ITK aliases for language features that
are no longer optional.
These long-time legacy interfaces are no longer
supported in ITKv6.
Remove Macro added to each `ImageRegion` member function that overrides
a virtual member function of `Region`, when legacy support is enabled.
Without legacy support, `ImageRegion` will no longer inherit from
`Region`, so then those `ImageRegion` member functions will no longer
override.
@hjmjohnson hjmjohnson force-pushed the prefer-cxx-modern-names-directly branch from 03c1c48 to 02c577c Compare June 1, 2024 01:20
@github-actions github-actions bot removed the area:Video Issues affecting the Video module label Jun 1, 2024
@hjmjohnson hjmjohnson marked this pull request as draft June 1, 2024 14:03
@hjmjohnson
Copy link
Member Author

After reading discussions on #4693 deciding not to pursue this in it's present form.

@hjmjohnson hjmjohnson closed this Jun 1, 2024
@hjmjohnson hjmjohnson deleted the prefer-cxx-modern-names-directly branch January 26, 2025 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Core Issues affecting the Core module area:Documentation Issues affecting the Documentation module area:Filtering Issues affecting the Filtering module area:IO Issues affecting the IO module area:Numerics Issues affecting the Numerics module area:Registration Issues affecting the Registration module area:Remotes Issues affecting the Remote module area:Segmentation Issues affecting the Segmentation module type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants