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: mike stump <mrs at windriver dot com>
- Subject: Re: The future C++ template model in gcc
- From: Nathan Sidwell <nathan at acm dot org>
- Date: Mon, 30 Jul 2001 17:26:58 +0100
- CC: nathan at compsci dot bristol dot ac dot uk, schintke at zib dot de, gcc at gcc dot gnu dot org, gdr at codesourcery dot com
- References: <200107301619.JAA23376@kankakee.wrs.com>
- Reply-To: nathan at compsci dot bristol dot ac dot uk
mike stump wrote:
> Don't give next the one that requires an overload decision, the code
> would be just like the above, only more complex. In the end, it
> devolves into a C++ interpreter.
Yes, you're right - I was imprecise. what I should have said was
In general it is not possible without turning the runtime into the
C++ compiler (or equivalent of it).
After all the compiler does it, so it must be possible.
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk