Are Stringize and Token Pasting operators in the Std?

Henry Spencer henry at utzoo.uucp
Fri Mar 2 04:29:55 AEST 1990


In article <1990Feb28.145611.15636 at dinorah.wustl.edu> art at dinorah.wustl.edu (Arthur B. Smith) writes:
>Here's a quick question for someone with a copy of the Standard.
>According to [books], the stringize (#) and token pasting
>(##) operators are part of the standard...  of five C compilers (with
>varying levels of (real and imagined) ANSI compliance) ..., only one
>implements both operators, and another implements only token pasting...
>So are these in ANSI C ...?

Yes.  However, *nobody* has a copy of the Standard yet, except for the
production people at ANSI, and many "ANSI compliant" compilers comply
with some early draft that bears only limited resemblance to the final
Standard.
-- 
MSDOS, abbrev:  Maybe SomeDay |     Henry Spencer at U of Toronto Zoology
an Operating System.          | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.std.c mailing list