HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)

# Print the line assuming that the last element is the variable
# name followed immediately by a semi-colon.
awk { n=split($0,sp0);
printf(template class);
for (i=1; i<=(n-1); i++) {
printf( %s, sp0[i]);
}
printf(;\n);
} < /tmp/dmi2eis2.$$ > /tmp/dmi2eis3.$$
cat /tmp/dmi2eis1.$$ /tmp/dmi2eis3.$$ > $eis_file
rm -f /tmp/dmi2eis*.$$
NOTE: You can use explicit instantiation to instantiate a template class and all its
member functions, an individual template function, or a member function of a template
class.
276 Migrating from HP C++ (cfront) to HP aC++