Skip to content

Conversation

devnexen
Copy link
Member

using internally solely smart pointer for internal ICU class.

using internally solely smart pointer for internal ICU class.
@devnexen devnexen marked this pull request as ready for review July 23, 2025 20:45
intl_error err;

// ICU calendar
#ifndef __cplusplus
Copy link
Member

Choose a reason for hiding this comment

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

I'm not so sure this trick is a good idea. Is there any guarantee in the C++ standard on the layout of a unique_ptr?
Perhaps we should convert the entire intl extension to C++ first before doing a change in a common file.

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.

2 participants