4 ms·
If C++ had a good macro system, the Qt library wouldn't need the "moc" preprocessor to implement its "slots" abstraction. Templates aren't powerful enough to fi
by oalae5niMiel7qu 6y ago
If C++ had a good macro system, the Qt library wouldn't need the "moc" preprocessor to implement its "slots" abstraction. Templates aren't powerful enough to fill that role, even when you add Concepts to them.
- neutronicus 6y agoMy understanding is that moc is no longer necessary, but sticks around for legacy compatibility, but I may be wrong.