/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Reflection for C++26
(isocpp.org)
196 points
svlasov
| 2 comments |
30 Jun 24 11:26 UTC
|
HN request time: 0.009s
|
source
Show context
kstrauser
◴[
01 Jul 24 23:50 UTC
]
No.
40852102
[source]
▶
>>40836594 (OP)
#
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
#
1.
shkurski_
◴[
02 Jul 24 00:19 UTC
]
No.
40852302
[source]
▶
>>40852102
#
moc can be replaced without reflection:
https://woboq.com/blog/verdigris-qt-without-moc.html
replies(1):
>>40855529
#
ID:
GO
2.
account42
◴[
02 Jul 24 11:22 UTC
]
No.
40855529
[source]
▶
>>40852302 (TP)
#
Using ugly macro hacks, yes.
↑