ENH: Finalize ITKv5 const function API change#4704
Merged
N-Dekker merged 2 commits intoInsightSoftwareConsortium:masterfrom Jun 13, 2024
Merged
ENH: Finalize ITKv5 const function API change#4704N-Dekker merged 2 commits intoInsightSoftwareConsortium:masterfrom
N-Dekker merged 2 commits intoInsightSoftwareConsortium:masterfrom
Conversation
43af41d to
d0d6cab
Compare
Member
Author
|
This set of changes more rigorously enforces uses of C++11 and C++17 required standards rather than the aliases needed for older compilers. |
df318fb to
0d102bb
Compare
7db7037 to
db4c3c2
Compare
dzenanz
approved these changes
Jun 10, 2024
N-Dekker
reviewed
Jun 10, 2024
N-Dekker
reviewed
Jun 10, 2024
db4c3c2 to
a10a1c5
Compare
The non-const API variants are no longer supported at compiletime. Replace 'ITKv5_CONST' with 'const'.
a10a1c5 to
0843ade
Compare
0843ade to
6523b28
Compare
N-Dekker
reviewed
Jun 12, 2024
| # define ITKv5_CONST static_assert(false, "ERROR: ITKv5_CONST must be replaced with 'const'") | ||
| #else | ||
| // A macro for methods which are const in ITKv5, but not in ITKv4 | ||
| // A macro for methods which are const in after ITKv4 |
Contributor
There was a problem hiding this comment.
Looks like a typo: "in after" 😺 No problem to me, though 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The non-const API variants are no longer supported at compile-time.
PR Checklist