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
638 stars 58 forks source link

Use constexpr string parsing #74

Closed arBmind closed 4 years ago

arBmind commented 4 years ago

I could not resist and implemented the string parsing approach we started on Monday.

Now enums with any number of values and functions with any number of arguments can be registered.

Also, I had to remove GCC5 but added GCC9. (I hope that is ok) g++5 refused to compile my constexpr string comparison. See: https://travis-ci.org/arBmind/verdigris/jobs/608485170

ogoffart commented 4 years ago

Also, I had to remove GCC5 but added GCC9. (I hope that is ok)

Not ideal, but i guess that's fine, as GCC 6 is from 2016