Skip to content

Decouple dispatcher function ABI from implementation#36

Open
mingxwa wants to merge 1 commit into
ngcpp:mainfrom
mingxwa:user/mingxwa/decouple-abi
Open

Decouple dispatcher function ABI from implementation#36
mingxwa wants to merge 1 commit into
ngcpp:mainfrom
mingxwa:user/mingxwa/decouple-abi

Conversation

@mingxwa
Copy link
Copy Markdown
Collaborator

@mingxwa mingxwa commented May 16, 2026

This changes adds reinterpret_invoke() overloads to both proxy and proxy_indirect_accessor with necessary refactoring. There's no functional changes at this time, but it's essential for supporting ABI customization (e.g., different calling conventions, pointer authentication) in the next version.

Changes

  • Added 4 reinterpret_invoke() overloads to each proxy and proxy_indirect_accessor.
  • Replaced details::invocation_meta with conv_meta. conv_meta defines the default ABI and simply calls reinterpret_invoke().
  • Removed dispatcher and dispatcher_type from details::overload_traits.

Dedicated unit tests and spec are not included in this change.

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