Skip to content

Conversation

@mingxwa
Copy link
Member

@mingxwa mingxwa commented Dec 15, 2024

Changes

  • Exposed proxy_indirect_accessor as a public API and added documentation.
  • Revised the implementation of ___PRO_DEF_FREE_ACCESSOR_TEMPLATE to use std::conditional_t<C::is_direct, proxy<F>, proxy_indirect_accessor<F>> (details::adl_accessor_arg_t) rather than accessor as the type of the operand to perform ADL correctly.
  • Added a unit test case for this change.
  • Revised related spec accordingly.

Resolves #219

@mingxwa mingxwa requested review from guominrui and tian-lt December 15, 2024 03:02
Copy link
Collaborator

@tian-lt tian-lt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mingxwa mingxwa merged commit a6835a2 into microsoft:main Dec 16, 2024
7 checks passed
@mingxwa mingxwa deleted the user/mingxwa/fix-adl branch December 16, 2024 09:21
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.

PRO_DEF_FREE_DISPATCH fails to perform ADL

3 participants