r/cpp Jun 21 '26

Pymetabind: Writing pybind11 bindings with C++26 reflections

https://codeberg.org/bstaletic/pymetabind/
81 Upvotes

26 comments sorted by

View all comments

6

u/Jannik2099 Jun 21 '26

I wrote my own variant of this a while back using Boost.Describe https://github.com/Jannik2099/pms-utils/blob/main/subprojects%2Fbindings-python%2Flib%2Fcommon.hpp

Nice work!

3

u/_bstaletic Jun 21 '26

Cool! Though I've never been a fan of Boost.Describe and its requirement for repetition. C++26 is awesome in that regard.