peterm
committed
on 16 Dec 03
starting to fix up the simulation::template::cast proc. Not tested yet.