Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Support bitwise trivial relocatability#330

Merged
mingxwa merged 1 commit intomicrosoft:mainfrom
mingxwa:user/mingxwa/tr
Aug 12, 2025
Merged

Support bitwise trivial relocatability#330
mingxwa merged 1 commit intomicrosoft:mainfrom
mingxwa:user/mingxwa/tr

Conversation

@mingxwa
Copy link
Contributor

@mingxwa mingxwa commented Aug 11, 2025

Changes

  • Note that std::is_trivially_relocatable does not have "bitwise" semantics, this change borrows the concept from P3780R0.
  • Added type trait is_bitwise_trivially_relocatable to both proxy.h and proxy.ixx.
  • Refactored details::invoke_dispatch to support bitwise trivially relocatable but non-movable types.
  • Refactored built-in fancy pointer types to be trivially relocatable but non-movable.

@mingxwa mingxwa requested review from guominrui and tian-lt August 11, 2025 04:45
@mingxwa mingxwa merged commit 269b014 into microsoft:main Aug 12, 2025
9 checks passed
@mingxwa mingxwa deleted the user/mingxwa/tr branch August 12, 2025 09:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants