3 ms·
A much more interesting example is the replacing of Qt or Windows's meta-object compilers with purely in-language features and without resorting to macros.
by jcelerier 9y ago
A much more interesting example is the replacing of Qt or Windows's meta-object compilers with purely in-language features and without resorting to macros.
- yoz-y 9y agoThe ship has probably sailed but had C++ had reflection back when, maybe the whole Qt paradigm could do without MOCs. I feel that with C++ we have backed ourselves into a complexity corner and now building more stuff to get out of it while retaining old habits.
- jcelerier 9y ago> The ship has probably sailed but had C++ had reflection back when, maybe the whole Qt paradigm could do without MOCs. well that's exactly a motivating example of the metaclasses paper: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0707r2.pdf http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p070...