woboq / verdigris

Qt without moc: set of macros to use Qt without needing moc
https://woboq.com/blog/verdigris-qt-without-moc.html
GNU Lesser General Public License v3.0
643 stars 60 forks source link

PoC: Simplification & Speed Improvements #59

Closed arBmind closed 5 years ago

arBmind commented 5 years ago

This PR contains all my work for Virdigris so far.

For now this is a proof of concept with C++17. This makes a lot of code much simpler.

Results (timing on my machine):

Next steps:

arBmind commented 5 years ago

See #58 for the new counter based registration.

ogoffart commented 5 years ago

Now you need to make it work with C++14 :-) I'd accept if there was some #ifdef #else for C++17 to get faster compilation with C++17.

Also new features can be C++17 only.

But i'd rather not mandate C++17 for old features.