This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
The future C++ template model in gcc?
- To: gcc at gcc dot gnu dot org
- Subject: The future C++ template model in gcc?
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Fri, 20 Jul 2001 16:16:22 -0700
I saw this in the gcc info file:
A future version of g++ will support a hybrid model whereby the
compiler will emit any instantiations for which the template definition
is included in the compile, and store template definitions and
instantiation context information into the object file for the rest.
The link wrapper will extract that information as necessary and invoke
the compiler to produce the remaining instantiations. The linker will
then combine duplicate instantiations.
But I couldn't tell if anyone was working on it. Is that still a goal?
H.J.