boostorg / boostorg/pfr

Difference between `boost::pfr::tuple_element` and `std::tuple_element`

Open
#105 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
176
Avg merge
5d 21h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.