Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ cleanup #1927

Merged
merged 6 commits into from
Mar 13, 2024
Merged

C++ cleanup #1927

merged 6 commits into from
Mar 13, 2024

Conversation

bernardnormier
Copy link
Member

This PR combines several C++ clean-ups:

  1. It updates Proxy.h to use string_view / string + move (and more generally pass by value + move) as appropriate with modern C++.

  2. It updates the generated one-shot constructors for mapped classes + exceptions to use by-value args that are then moved into the fields (when movable)

  3. It makes all ice_staticId functions noexcept

@bernardnormier bernardnormier merged commit 0c03e8e into zeroc-ice:main Mar 13, 2024
22 checks passed
@bernardnormier bernardnormier deleted the cpp-cleanup branch May 10, 2024 23:43
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