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

Difference between boost::pfr::tuple_element and std::tuple_element #105

Open
denzor200 opened this issue Sep 7, 2022 · 0 comments
Open

Comments

@denzor200
Copy link
Contributor

denzor200 commented Sep 7, 2022

https://godbolt.org/z/4odnsoKzK
I know that PFR dont work with const or reference fields. But why don't we remove this restriction in C++17 mode? I suppose that structured binding already has all that we need to do it: https://godbolt.org/z/YbnTevjo5

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

No branches or pull requests

1 participant