←back to thread

196 points svlasov | 1 comments | | HN request time: 0s | source
Show context
kstrauser ◴[] No.40852102[source]
I haven't touched C++ since undergrad. Neither have I written any Qt code. But from memory, doesn't Qt's moc implement some of this stuff because it wasn't available in C++? Could this replace moc?
replies(4): >>40852283 #>>40852302 #>>40852535 #>>40854005 #
shkurski_ ◴[] No.40852302[source]
moc can be replaced without reflection: https://woboq.com/blog/verdigris-qt-without-moc.html
replies(1): >>40855529 #
1. account42 ◴[] No.40855529[source]
Using ugly macro hacks, yes.