出典:Wikipedia
出典:『Wikipedia』 (2011/07/08 15:59 UTC 版)
Some compilers for object-oriented languages such as C++ generate functions called thunks as an optimization of virtual function calls in the presence of multiple or virtual inheritance. Consider the C++ code