Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
billfruit
· 1y ago · 0 comments
As some not into modern c++, how would you get all functionality? Is there any guide or documentation yout could point to?. It is fascinating if all that could be done with just the struct defenition.
Comments
[–]
jcelerier
1y ago
The actual feature comes in C++26 (static reflection) but there are polyfills that allow to do it today (boost.pfr,
https://github.com/qlibs/reflect
) ; concepts are also a great help:
https://cnrs.hal.science/hal-04090584/file/icmc2022template....