This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: The future C++ template model in gcc
- To: Florian Schintke <schintke at zib dot de>
- Subject: Re: The future C++ template model in gcc
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 30 Jul 2001 10:56:21 +0200
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <20010730101358.C30801@csr-pc2.zib.de>
Florian Schintke <schintke@zib.de> writes:
| But what are the real reasons to generate all instantiations?
A template is instantiated for given template-arguments. The set of
template-arguments is unbounded. So what do you mean by "to generate all
instantiations"?
| So my question is:
| Why isn't it possible to generate a generic 'template meta
| instantiation' that works for all possible instantiations?
How does that mean?
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com