Skip to content

intl ICU C++ code modernisation, making it closer to C++11 #8650

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

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

devnexen
Copy link
Member

No description provided.

Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

I don't know too much C++, but two questions:

ICU says:

Do not use. This API is for internal use only.

Should we actually use this API?

Additionally, what would happen if override is not available? The function would no longer be virtual, so I'm assuming dynamic dispatch wouldn't work as expected?

@devnexen
Copy link
Member Author

devnexen commented May 29, 2022

I don't know too much C++, but two questions:

ICU says:

Do not use. This API is for internal use only.

Should we actually use this API?

Sure why not using it directly.

Additionally, what would happen if override is not available? The function would no longer be virtual, so I'm assuming dynamic dispatch wouldn't work as expected?

A C++11 compiler capable minimum is expected (g++ 4.9 at least, Visual Studio 2012/13)

@ramsey ramsey added this to the PHP 8.2 milestone May 31, 2022
@Girgias Girgias merged commit ec0331f into php:master Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants