Skip to content

Conversation

@mingxwa
Copy link
Member

@mingxwa mingxwa commented May 14, 2024

This PR replaces the current char array used for in-place construction with std::byte. This improves code clarity and avoids potential UB.

Fixes #98

@mingxwa mingxwa requested review from guominrui and tian-lt May 14, 2024 07:11
@mingxwa mingxwa self-assigned this May 14, 2024
@mingxwa mingxwa marked this pull request as ready for review May 14, 2024 07:11
@mingxwa mingxwa merged commit 29d6f68 into microsoft:main May 14, 2024
@mingxwa mingxwa deleted the user/mingxwa/ub branch May 14, 2024 14:39
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.

Use std::byte for in-place object construction

2 participants