In a wrapper generator I am writing, I need to find out if some member function has been overridden by a subclass at runtime. Thanks to the help of maxter at #d, I currently have the following for D1: