mockitopp icon indicating copy to clipboard operation
mockitopp copied to clipboard

Support Multiple Inheritance

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

Currently MockitoPP only supports mocking classes that have a single
virtual table.  Determining a classes layout pseudo-dynamically is
nontrivial since there is no way at compile time to determine the adjusted
this and vtable offset.  This information can be deduced at runtime given a
member function pointer and its compiler dependent layout (see:
http://www.codeproject.com/KB/cpp/FastDelegate.aspx). The tricky part is
taking a decoded MFP implementation and mapping it to a compile time
generated thunk that dispatches to the correct dynamic function.

Original issue reported on code.google.com by [email protected] on 4 Nov 2009 at 5:25

GoogleCodeExporter avatar Mar 19 '15 03:03 GoogleCodeExporter

Original comment by [email protected] on 9 Dec 2010 at 4:31

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

GoogleCodeExporter avatar Mar 19 '15 03:03 GoogleCodeExporter