Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private Reflection #112

Closed
TheNitesWhoSay opened this issue Nov 12, 2023 · 1 comment
Closed

Private Reflection #112

TheNitesWhoSay opened this issue Nov 12, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@TheNitesWhoSay
Copy link
Owner

Add the capability to reflect private variables from unowned objects (somewhat similar to proxying, but without regard for access-protection level). This form of reflection is expected to be limited to members for which pointers can be formed as it's based on the trick described in https://godbolt.org/z/hcjcjjqhz and will not be able to get many of the little details that the in-class REFLECT and REFLECT_NOTED macros can; all the same it should be possible to get the existing reflection interfaces working and returning reasonable results in a decent number of cases for unowned privates.

@TheNitesWhoSay TheNitesWhoSay added the enhancement New feature or request label Nov 12, 2023
@TheNitesWhoSay TheNitesWhoSay self-assigned this Nov 12, 2023
@TheNitesWhoSay
Copy link
Owner Author

TheNitesWhoSay commented Nov 26, 2023

Private reflection was released in 2.2.0, see intro docs

Or the examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant