cxx-qt-lib: Can we use C++ templates to reduce the amount of C++ code #370
Replies: 1 comment
-
We think yes as this already is done with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The most common C++ functions we need for cxx-qt-lib are:
So could we just add a "cxx-qt-lib/common-utils.h" that defines templates for these.
e.g. for the destructor:
We've already found that CXX can deal with this pretty well, as long as it can infer all template type arguments.
Beta Was this translation helpful? Give feedback.
All reactions