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

Reduce semantics of proxy_invoke#167

Merged
mingxwa merged 1 commit intomicrosoft:mainfrom
mingxwa:user/mingxwa/fix-proxy-invoke
Oct 1, 2024
Merged

Reduce semantics of proxy_invoke#167
mingxwa merged 1 commit intomicrosoft:mainfrom
mingxwa:user/mingxwa/fix-proxy-invoke

Conversation

@mingxwa
Copy link
Contributor

@mingxwa mingxwa commented Sep 28, 2024

Why

Before this change, each polymorphic call performed with proxy accessibility API will cause overload resolution twice. Although it does not affect code generation, it introduces unnecessary compile-time dependency.

Changes

  • Added overload type O to each overload of proxy_invoke.
  • Updated implementation of the dispatch types accordingly.
  • Updated documentation and sample code accordingly.

Notes

  • Since this change involves API change, the minor version of the library should be updated later.

@mingxwa mingxwa added this to the P3086R3 milestone Sep 28, 2024
@mingxwa mingxwa merged commit 0ebe581 into microsoft:main Oct 1, 2024
@mingxwa mingxwa deleted the user/mingxwa/fix-proxy-invoke branch October 1, 2024 05:03
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.

2 participants