Skip to content

Modernize value string logic for C++17#2538

Merged
jstone-lucasfilm merged 2 commits intoAcademySoftwareFoundation:mainfrom
jstone-lucasfilm:dev_cpp_17
Sep 16, 2025
Merged

Modernize value string logic for C++17#2538
jstone-lucasfilm merged 2 commits intoAcademySoftwareFoundation:mainfrom
jstone-lucasfilm:dev_cpp_17

Conversation

@jstone-lucasfilm
Copy link
Copy Markdown
Member

This changelist modernizes the value string logic in toValueString and fromValueString, replacing C++11 SFINAE templates with C++17 if constexpr statements, and removing the intermediate stringToData and dataToString functions.

This changelist modernizes the value string logic in `toValueString` and `fromValueString`, replacing C++11 SFINAE templates with C++17 `if constexpr` statements, and removing the intermediate stringToData and dataToString functions.
Copy link
Copy Markdown
Contributor

@ld-kerley ld-kerley left a comment

Choose a reason for hiding this comment

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

Looks good to me - I'm assuming you'll merge this after the 1.39.4 RC phase has closed?

@jstone-lucasfilm
Copy link
Copy Markdown
Member Author

@ld-kerley Thanks for the review! And yes, this seems like a good candidate for the early phases of 1.39.5, as we'll need wider testing than we can achieve within 1.39.4.

Copy link
Copy Markdown
Contributor

@niklasharrysson niklasharrysson left a comment

Choose a reason for hiding this comment

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

Looks good to me too!

@jstone-lucasfilm jstone-lucasfilm merged commit ee339d2 into AcademySoftwareFoundation:main Sep 16, 2025
32 checks passed
@jstone-lucasfilm jstone-lucasfilm deleted the dev_cpp_17 branch September 16, 2025 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants