boostorg / pfr

std::tuple like methods for user defined types without any macro or boilerplate code
https://boost.org/libs/pfr
Boost Software License 1.0
1.34k stars 161 forks source link

Addressing the limitation of the LOOPHOLE #145

Open schaumb opened 12 months ago

schaumb commented 12 months ago

There is currently a limitation in the code for LOOPHOLE:

None of the member fields should have a template constructor with one parameter.

This limitation could be solved using the following strategy: link

schaumb commented 11 months ago

(this works only when the template constructor is SFINAE friendly)

apolukhin commented 9 months ago

Could you please provide a PR to the library?