pygccxml.declarations.function_traits module

defines few algorithms, that deals with different properties of functions

is_same_function(f1, f2)

returns true if f1 and f2 is same function

Use case: sometimes when user defines some virtual function in base class, it overrides it in a derived one. Sometimes we need to know whether two member functions is actually same function.

is_same_return_type(f1, f2)