Skip to content

Add thunk.hxx: erased_call_thunk calling a pre-merged candidate type (9/20) - #109

Draft
jbcoe wants to merge 1 commit into
reflection/07-vtable-layoutfrom
reflection/08-thunk
Draft

Add thunk.hxx: erased_call_thunk calling a pre-merged candidate type (9/20)#109
jbcoe wants to merge 1 commit into
reflection/07-vtable-layoutfrom
reflection/08-thunk

Conversation

@jbcoe

@jbcoe jbcoe commented Jul 27, 2026

Copy link
Copy Markdown
Owner

erased_call_thunk::call casts the erased pointer back to
Implementation and forwards to MergedCandidates{}(implementation,
args...); how candidates get merged is conformance.hxx's job, so this
is tested standalone against a fake candidate.

@jbcoe jbcoe changed the title Add thunk.hxx: erased_call_thunk calling a pre-merged candidate type Add thunk.hxx: erased_call_thunk calling a pre-merged candidate type (9/20) Jul 27, 2026
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from 24fe46e to 4f39fde Compare July 28, 2026 11:33
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from 4564447 to 2424201 Compare July 28, 2026 11:33
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from 4f39fde to 5505612 Compare July 28, 2026 14:22
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from 2424201 to 41360e3 Compare July 28, 2026 14:22
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from 5505612 to 21027f7 Compare July 28, 2026 14:29
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from 41360e3 to a651d6c Compare July 28, 2026 14:29
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from 21027f7 to 6d1ac14 Compare July 28, 2026 15:14
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from a651d6c to a90f37a Compare July 28, 2026 15:14
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from 6d1ac14 to f4abbb2 Compare July 28, 2026 15:28
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from a90f37a to 3359b2a Compare July 28, 2026 15:28
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from f4abbb2 to de7fe50 Compare July 28, 2026 18:27
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from 3359b2a to a31033a Compare July 28, 2026 18:27
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from de7fe50 to 9abf339 Compare July 28, 2026 19:37
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from a31033a to 0e25baf Compare July 28, 2026 19:37
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from 9abf339 to c61fbe4 Compare July 28, 2026 20:22
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from 0e25baf to cfe043f Compare July 28, 2026 20:23
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from c61fbe4 to 19b2958 Compare July 29, 2026 09:48
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from cfe043f to d06421c Compare July 29, 2026 09:48
erased_call_thunk::call casts the erased pointer back to
Implementation and forwards to MergedCandidates{}(implementation,
args...); how candidates get merged is conformance.hxx's job, so this
is tested standalone against a fake candidate.
@jbcoe
jbcoe force-pushed the reflection/07-vtable-layout branch from 19b2958 to 967f4f8 Compare July 29, 2026 10:14
@jbcoe
jbcoe force-pushed the reflection/08-thunk branch from d06421c to 8ac6883 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