Solved by G.M in post #2 
              
              
                I managed to find a work around, which is to wrap the SOME_FUNC::apply in another C++ function and bind that function to Python. But I still hope to know a direct way.