J
James Kanze
"James Kanze" <[email protected]> wrote in message
On Jun 11, 2:24 am, "JohnQ" <[email protected]>
wrote:
"No, but I think it will be with the next release of the
standard. There is a very extensive common subset, however."
"C++ doesn't have any of the features what were added in C99.
Things like a variable number of arguments for macros.
There are also small differences with regards to predefined
symbols: C doesn't (and won't) have __cplusplus, for example.
This is intentional."
So templates are implemented strictly in the compiler then or is that
implementation-specific?
Well, how anything is implemented is implementation-specific,
but yes, templates have nothing to do with the preprocessor;
they are defined at the language level (phases 7 and later), and
normally implemented at that level as well.
How could it be otherwise, given the rules for e.g. name
binding, scope, etc.?
(Aside: Your post's header info contains:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable <<-- Is this the problem?)
I suspect so; there's no reason for it to be there. On the
other hand, I don't know where it is getting introduced. (Maybe
the firewall here? It's not present when I don't post behind a
firewall.)