r/cpp • u/_bstaletic • Jun 21 '26
Pymetabind: Writing pybind11 bindings with C++26 reflections
https://codeberg.org/bstaletic/pymetabind/
81
Upvotes
r/cpp • u/_bstaletic • Jun 21 '26
View all comments
Show parent comment
1
u/friedkeenan Jun 21 '26
Yeah, you could just pass it to
std::define_static_stringfirst though in that case.That's definitely annoying about the structured bindings propagating the consteval-only-ness. I wonder if that behavior would change with the advent of consteval-only values, which C++26 got a DR for.