Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There was some effort to make it possible to use Qt without moc [0] and instead rely on some more modern C++ features. No clue where the effort is these days

0: https://woboq.com/blog/verdigris-qt-without-moc.html



Now that I'm thinking of it, the Boost C++ libraries have a signals/slot implementation:

https://www.boost.org/doc/libs/1_63_0/doc/html/signals.html

(probably already superseded by more modern C++ constructs)


There isn't anything in boost, and even less in c++20 that gets anywhere close to the codegen & runtime reflection that Qt provides. We need reflection & metaclasses/constexpr code generation but the way it looks it won't be in before c++26.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: