Skip to content

Add allocator-awareness (16/20) - #116

Draft
jbcoe wants to merge 1 commit into
reflection/14-interface-bfrom
reflection/15-allocator-awareness
Draft

Add allocator-awareness (16/20)#116
jbcoe wants to merge 1 commit into
reflection/14-interface-bfrom
reflection/15-allocator-awareness

Conversation

@jbcoe

@jbcoe jbcoe commented Jul 27, 2026

Copy link
Copy Markdown
Owner

protocol<T, Allocator> gains the allocator-extended constructor set
plus allocator-aware assignment and swap, matching the
Python/libclang backend's protocol_A.h: equal allocators steal the
source's pointer, unequal ones move-construct into freshly allocated
storage.

@jbcoe jbcoe changed the title Add allocator-awareness Add allocator-awareness (16/20) Jul 27, 2026
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from aabb1fb to 6becbf8 Compare July 28, 2026 11:33
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from 5913f8a to 049668f Compare July 28, 2026 11:33
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from 6becbf8 to 35e8e4e Compare July 28, 2026 14:22
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from 049668f to 1c2aae6 Compare July 28, 2026 14:22
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from 35e8e4e to b569ee3 Compare July 28, 2026 14:30
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from 1c2aae6 to da94e52 Compare July 28, 2026 14:30
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from b569ee3 to f725170 Compare July 28, 2026 15:14
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from da94e52 to 695f58c Compare July 28, 2026 15:14
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from f725170 to 0193b27 Compare July 28, 2026 15:28
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from 695f58c to c2efa45 Compare July 28, 2026 15:28
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from 0193b27 to ad6dea2 Compare July 28, 2026 18:27
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from c2efa45 to 5156a95 Compare July 28, 2026 18:27
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from ad6dea2 to 5106225 Compare July 28, 2026 19:37
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from 5156a95 to 39c06c6 Compare July 28, 2026 19:37
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from 5106225 to 9af9b2a Compare July 28, 2026 20:23
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from 39c06c6 to 22d8d16 Compare July 28, 2026 20:23
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from 9af9b2a to 5557271 Compare July 29, 2026 09:48
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from 22d8d16 to 8525f80 Compare July 29, 2026 09:48
protocol<T, Allocator> gains the allocator-extended constructor set
plus allocator-aware assignment and swap, matching the
Python/libclang backend's protocol_A.h: equal allocators steal the
source's pointer, unequal ones move-construct into freshly allocated
storage.
@jbcoe
jbcoe force-pushed the reflection/14-interface-b branch from 5557271 to 188bff0 Compare July 29, 2026 10:14
@jbcoe
jbcoe force-pushed the reflection/15-allocator-awareness branch from 8525f80 to aaffd2f Compare July 29, 2026 10:14
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.

1 participant