robertknight / qt-signal-tools

Utility classes related to Qt signal and slot handling
25 stars 8 forks source link

Add Boost as a possible binding backend for older compilers? #2

Open otherjason opened 11 years ago

otherjason commented 11 years ago

qt-signal-tools currently supports the C++11 and TR1 standard libraries to provide the backend implementation for binding functions to arguments and so on. For older compilers that don't have TR1 support, would it be reasonable to allow Boost libraries (which I believe are mostly equivalent to the TR1/C++ binding facilities) as another compile-time option? This would allow qt-signal-tools to be used even more widely than it currently can.

robertknight commented 11 years ago

I expect you can use the Boost TR1 lib (http://www.boost.org/doc/libs/1_54_0/doc/html/boost_tr1.html) in that case and just add a few extra #ifdefs in FunctionUtils.h to include the boost TR1 headers.