This is the mail archive of the gcc@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]

Re: The future C++ template model in gcc


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


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