cpp2python
cpp2python copied to clipboard
handle class constructor
For example this class constructor
AutomaticTest::AutomaticTest() : m_test(0), m_test_two(false) {
// constructor
}
gets converted to
AutomaticTest.AutomaticTest() : m_test(0), m_test_two(False)
# constructor
My expected result was something like this
def AutomaticTest(self): # or def __init__(self):
self.m_test(0) = 0
self.m_test_two = False
# constructor