On 3 July 2011 09:22, eric wrote: > Dear (Ubuntu linux) g++ programers: > > In my test with g++4.5.2, I can not make .cpp file contain template > unless I instantiate it but that will spoil its flexibility/dynamics > to runtime binding. And I certainly think seperate definition from .h > file's declaration is better idea. Did anyone know how can I improve it > or on higher g++ version, it (g++) have added such feature? > From book/internet/web discussion, I knew Comeau and intel(linux) c++ > compiler did this years ago. There is a link to advocate/promote such > feature. > http://warp.povusers.org/programming/export_templates.html > > like to see your new info/cooperate on this issue > sincerely, Eric 'export' is not worth the trouble, it has been removed from the upcoming new C++ standard and will not be implemented in G++.