4 ms·
yep, a big part of moc is about generating reflection info and current C++ metaprogramming very simply does not cover reflection and even less custom code gener
by jcelerier 4y ago
yep, a big part of moc is about generating reflection info and current C++ metaprogramming very simply does not cover reflection and even less custom code generation (think generating a function called "auto foo_info()" from a function "void foo()" automatically - right now the only way to do this if one does not want to use macros is through an external code generator, e.g. in CMake or whatever).