I have the following in C++:
void doSomething(int value);
void doSomething(bool value);
When I run doSometing(True) in Python, it always calls the "void(int value)" C++ function instead of the expected "void doSomething(bool value)".
I know this has already been discussed, but I was wondering if it has been corrected or if there was a workaround or some option to set in SWIG.
William's answer led me to think it could have been corrected in the 2.0 version of SWIG, but it doesn't seem to be the case.