Optimized compiling of a template function
A template function is received. The template function includes one or more data types. A single abstract instantiation of the template function is created. An abstract internal descriptor for each data type is created. A map set for each abstract internal descriptor is created. The number of instantiations required and the type of instantiation required is provided. A finished object is created using each map set. The finished object is a translation of the intermediate representation into assembly code.
International Business Machines Corporation
G G G
G06F G06F G06F
inventional inventional inventional
Jin Song Xiao Feng JiuFu Jia Bing
Ji Guan Guo Liu