Skip to content

Conversation

@mingxwa
Copy link
Member

@mingxwa mingxwa commented Mar 15, 2025

Before this change invoking a convention with a rvalue reference will destroy the contained value if the convention is direct, while the contained value won't be destroyed if the convention is indirect. This change makes the behavior consistent by destroying the contained value in both cases. Unit tests are updated accordingly.

@mingxwa mingxwa requested review from guominrui and tian-lt March 15, 2025 14:19
@mingxwa mingxwa merged commit 4f8eda6 into microsoft:main Mar 17, 2025
8 checks passed
@mingxwa mingxwa deleted the user/mingxwa/rvalue branch March 17, 2025 02:51
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.

2 participants