This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

template export(or export template) features


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]